Files
open-simh.simtools/crossassemblers/macro11/tests/test-enabl-lcm.mac
Olaf Seibert 0e54092d45 Merge commit 'c311f6a175fd52da171795bc093762f4eba4c136' into macro11-v0.7.2
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)
2022-06-08 20:52:56 +02:00

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.