adapted monitor command 'C'

This commit is contained in:
FeralChild64 authored and FeralChild64 committed 2021-01-26 00:03:07 +01:00
1 parent b87830c036
commit b33a7a2905
4 files changed
+52 -22

No files matched your search

+1 -21
View File
@@ -191,7 +191,7 @@ Jump_Table:
!word Mon_Assemble ; A XXX to be debugged/adapted
!word Mon_Bits ; B
!word Mon_Compare ; C XXX to be debugged/adapted
!word Mon_Compare ; C
!word Mon_Disassemble ; D
!word Mon_Fill ; F
!word Mon_Go ; G XXX to be debugged/adapted
@@ -550,26 +550,6 @@ Dump_Row:
PLZ
RTS
; **********
Mon_Compare:
; **********
JSR Get_Param_Range ; Long_PC = source
LBCS Mon_Error ; Long_CT = count
JSR Get_LAC ; Long_AC = target
LBCS Mon_Error
JSR Print_CR
LDZ #0
@loop LDA [Long_PC],Z
CMP [Long_AC],Z
BEQ @laba
JSR Print_LPC_Addr
@laba JSR Inc_LAC
JSR Inc_LPC
JSR Dec_LCT
BPL @loop
JMP Main
; *******
Mon_Hunt:
; *******