]> git.sur5r.net Git - cc65/blob - libsrc/c128/dbgbreak.s
This commit was generated by cvs2svn to compensate for changes in r2,
[cc65] / libsrc / c128 / dbgbreak.s
1 ;
2 ; Ullrich von Bassewitz, 10.08.1998
3 ;
4 ; unsigned DbgSetBreakVec (unsigned Addr);
5 ;
6
7         .export         _DbgSetBreakVec
8         .import         popax, utstax
9         
10         .include        "../cbm/cbm.inc"
11
12 _DbgSetBreakVec:
13         jsr     popax           ; Get the new address
14         ldy     BRKVec
15         sta     BRKVec
16         lda     BRKVec+1
17         stx     BRKVec+1
18         tax
19         tya
20         jmp     utstax
21
22
23
24