cc65/libsrc/c128/dbgbreak.s_
2013-05-01 14:00:01 +02:00

24 lines
299 B
Text

;
; Ullrich von Bassewitz, 10.08.1998
;
; unsigned DbgSetBreakVec (unsigned Addr);
;
.export _DbgSetBreakVec
.import popax, utstax
.include "../cbm/cbm.inc"
_DbgSetBreakVec:
jsr popax ; Get the new address
ldy BRKVec
sta BRKVec
lda BRKVec+1
stx BRKVec+1
tax
tya
jmp utstax