mirror of
https://github.com/open-simh/simtools.git
synced 2026-01-13 15:27:18 +00:00
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.
|