mirror of
https://github.com/open-simh/simtools.git
synced 2026-02-19 14:05:05 +00:00
Add some tests for things I have fixed while the last weeks.
This commit is contained in:
14
tests/test-complex-reloc.mac
Normal file
14
tests/test-complex-reloc.mac
Normal file
@@ -0,0 +1,14 @@
|
||||
; test complex relocations
|
||||
|
||||
; .globl IE.ITS,IE.MON ; implicit
|
||||
mov #-IE.ITS, space
|
||||
|
||||
space: .word IE.ITS ; the only simple relocation
|
||||
.word -IE.ITS ; all others are complex relocations
|
||||
.word ^C<IE.ITS>
|
||||
.word IE.ITS + IE.MON
|
||||
.word IE.ITS - IE.MON
|
||||
.word IE.ITS * IE.MON
|
||||
.word IE.ITS / IE.MON
|
||||
.word IE.ITS & IE.MON
|
||||
.word IE.ITS ! IE.MON
|
||||
Reference in New Issue
Block a user