-
Notifications
You must be signed in to change notification settings - Fork 91
Open
Description
To reproduce:
- Create a trivial dasm program on the Apple II
- Set the start address to something other than $0803
Here's a minimal program starting at $0802:
processor 6502
org $802
loop
nop
jmp loop
The program text editor will dutifully display the expected binary program to the left of the source code:
0802 ea
0803 4c 03 08
Click on the "Disassembly" view and you will see that the compiled code is very program
- Program code actually starts at 0803 (which apparently is hard coded by the IDE)
- The "loop" label is show at 0802 (which is a BRK instruction due to memory being
$00) - The JMP instruction points to 0802 (where the start of the program would've been)
- Using the "Reset and debug" (=rewind the execution) and "single step" functions is a really confusing experience because because the memory addresses next to the source view don't line up with the program location in memory
0802 00 BRK ; loop
0803 EA NOP
0804 4C0208 JMP loop
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels