When the source contains one of the following typos (probably more, but haven't tested), then zsm4 does the strangest kind of things (i.e. crashing, exiting without compiling, writing its name in an endloss loop etc.) :
A>type test.mac
.z180
out0 (66h)
out0 66
end
When the instructions are typed correctly, then everything works out fine.
Tested with zsm4 v4.7 on an actual Z180-Computer and in a z80-emulator.
When the source contains one of the following typos (probably more, but haven't tested), then zsm4 does the strangest kind of things (i.e. crashing, exiting without compiling, writing its name in an endloss loop etc.) :
When the instructions are typed correctly, then everything works out fine.
Tested with zsm4 v4.7 on an actual Z180-Computer and in a z80-emulator.