dbuchwald / 6502

DB6502: 65C02 based computer inspired by BE6502
MIT License
144 stars 29 forks source link

Fix monitor issue with relative backwards jumps #42

Closed dbuchwald closed 4 years ago

dbuchwald commented 4 years ago
105f:   jsr  $1109
1062:   tax
1063:   beq  $115f

Should be:

105f:   jsr  $1109
1062:   tax
1063:   beq  $105f
00000050  a2 12 20 03 11 a9 0a 20  00 11 a9 0d 20 00 11 20  |.. .... .... .. |
00000060  09 11 aa f0 fa 20 f7 10  20 0c 11 92 00 20 00 11  |..... .. .... ..|