mirror of
https://github.com/fadden/6502bench.git
synced 2024-11-29 10:50:28 +00:00
0bbb307d4e
These were being overlooked because they didn't actually cause anything to happen (a no-op .ORG sets the address to what it would already have been). The assembly source generator works in a way that causes them to be skipped, so everybody was happy. This seemed like the sort of thing that was likely to cause problems down the road, however, so we now split regions correctly when a no-op .ORG is encountered. This affects the uncategorized data analyzer and selection grouping. This changed the behavior of the 2004-numeric-types test, which was visibly weird in the UI but generated correct output. Added the 2024-ui-edge-cases test to provide a place to exercise edge cases when testing the UI by hand. It has some value for the automated regression test, so it's included there. Also, changed the AddressMapEntry objects to be immutable. This is handy when passing lists of them around.
21 lines
400 B
ArmAsm
21 lines
400 B
ArmAsm
org $2000
|
|
jmp L2100
|
|
|
|
asc 'hello, ' ;string should be split by no-op addr change
|
|
org $200a
|
|
asc 'world'
|
|
dfb $80
|
|
|
|
org $2100
|
|
L2100 lda #$00
|
|
sta addr1-1 ;edit this operand
|
|
sta addr1
|
|
sta addr1+1
|
|
jmp L2121
|
|
|
|
asc 'testing stuff.'
|
|
addr1 asc '!?---'
|
|
|
|
L2121 rts
|
|
|