]> git.sur5r.net Git - cc65/blob - dbgbreak.s_
a990717868d7ca4d7d3ca65de5072454d3d55733
[cc65] / 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