mirror of
https://github.com/open-simh/simtools.git
synced 2026-03-02 01:40:46 +00:00
Update to latest released version of macro-11. Command run: git subtree pull --prefix=crossassemblers/macro11 ../macro11 macro11-v0.7.2 (should be equivalent to git subtree pull --prefix=crossassemblers/macro11 git://gitlab.com/Rhialto/macro11.git macro11-v0.7.2)
33 lines
816 B
Plaintext
33 lines
816 B
Plaintext
;;;;;
|
|
;
|
|
; Test case (in)sensitivity of .IF IDN/DIF.
|
|
;
|
|
|
|
; Default: case insensitive.
|
|
|
|
.iif idn <hallo> <hallo> .byte 1
|
|
.iif idn <HALLO> <hallo> .byte 1
|
|
.iif idn <hallo> <HALLO> .byte 1
|
|
.iif idn <HAllo> <halLO> .byte 1
|
|
|
|
.iif dif <hallo> <hallo> .byte 0
|
|
.iif dif <HALLO> <hallo> .byte 0
|
|
.iif dif <hallo> <HALLO> .byte 0
|
|
.iif dif <HAllo> <halLO> .byte 0
|
|
|
|
.enabl lcm
|
|
; Now: case sensitive
|
|
|
|
.iif idn <hallo> <hallo> .byte 1
|
|
.iif idn <HALLO> <hallo> .byte 0
|
|
.iif idn <hallo> <HALLO> .byte 0
|
|
.iif idn <HAllo> <halLO> .byte 0
|
|
|
|
.iif dif <hallo> <hallo> .byte 0
|
|
.iif dif <HALLO> <hallo> .byte 1
|
|
.iif dif <hallo> <HALLO> .byte 1
|
|
.iif dif <HAllo> <halLO> .byte 1
|
|
|
|
; Setting is now non-default.
|
|
; Check if it reverts to default in the next pass.
|