1
0
mirror of https://github.com/fadden/6502bench.git synced 2024-11-18 15:06:07 +00:00
6502bench/SourceGen/SGTestData/Expected/20032-labels-and-symbols_acme.S
Andy McFadden 5f472b60cf ORG rework, part 3
Split ".org" into ".arstart" and ".arend" (address range start/end).
Address range ends are now shown in the code list view, and the
pseudo-op can be edited in app settings.  Address range starts are
now shown after notes and long comments, rather than before, which
brings the on-screen display in sync with generated code.

Reworked the address range editor UI to include the new features.
The implementation is fully broken.

More changes to the AddressMap API, putting the resolved region length
into a separate ActualLength field.  Added FindRegion().  Renamed
some things.

Code generation changed slightly: the blank line before a region-end
line now comes after it, and ACME's "} ;!pseudopc" is now just "}".
This required minor updates to some of the regression test results.
2021-09-22 15:28:11 -07:00

27 lines
1.8 KiB
ArmAsm

;ACME can't handle 65816 code that lives outside bank zero
* = $0000
!pseudopc $012345 {
!hex 18fbe230a9cda9dda90da9eda9fea92da9ffa929a910a9e9a90fa945a923a901
!hex f4edfef44523f40100f45634f41200f4edfef44523f40100f45634f41200a5ce
!hex adce00afce0000adecfeafecfe00adeefeafeefe00ad4623af462301ad4423af
!hex 442301ad5734af573412ad5534af553412c230a9cd00a9dd00a90d01a92910a9
!hex 1000a92900a90000a90000a9edfea9fe00a9ed0ea90e01a90100a94523a92301
!hex a90100a95634a93412a912008050cdedfe452301cd002910100029000000edfe
!hex fe00ed0e0e01452323010100462323010100feedcd0000edfe00fe0000452301
!hex 230100010000cd000000edfe0000fe000000442301002301000001000000a911
!hex 0054011244120154011244120162eeff8200005c001000eaeaeae230ad0030ad
!hex 0031ad0032ad00338039eaeaea62faff62f8ff62f6ff20131020141020151080
!hex e980e880e782e2ff82e0ff82deff4c13104c14104c15105c1310005c1410005c
!hex 151000201610202810202a10202c10202e10203110203410203710203a10203d
!hex 10204010204410204810821801808182838485868788898a8b8c8d8e8f808182
!hex 838485868788898a8b8c8d8e8f808182838485868788898a8b8c8d8e8f808182
!hex 838485868788898a8b8c8d8e8f808182838485868788898a8b8c8d8e8f808182
!hex 838485868788898a8b8c8d8e8f808182838485868788898a8b8c8d8e8f546869
!hex 732069732061206c6f6e6720737472696e672e205075742061206c6162656c20
!hex 616e6420636f6d6d656e74206f6e20697420746f20636f6e6669726d20746861
!hex 7420746865206c6162656c20616e6420636f6d6d656e74206f6e6c7920617070
!hex 656172206f6e20746865206669727374206c696e652e20205468652071756963
!hex 6b2062726f776e20666f78206a756d7073206f76657220746865206c617a7920
!hex 646f67732ea97aa959a934c230a97b56a95a34a9341260
}