mirror of
https://github.com/open-simh/simtools.git
synced 2026-04-30 21:38:29 +00:00
Add .ENABL LCM. Its default setting was incorrect.
This commit is contained in:
32
tests/test-enabl-lcm.mac
Normal file
32
tests/test-enabl-lcm.mac
Normal file
@@ -0,0 +1,32 @@
|
||||
;;;;;
|
||||
;
|
||||
; 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.
|
||||
Reference in New Issue
Block a user