mirror of
https://github.com/cc65/cc65.git
synced 2024-11-18 15:05:14 +00:00
25 lines
299 B
ArmAsm
25 lines
299 B
ArmAsm
|
;
|
||
|
; 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
|
||
|
|
||
|
|
||
|
|
||
|
|