Inverted syntax: Difference between revisions
Content deleted Content added
Puppydrum64 (talk | contribs) →{{header|ARM Assembly}}: Original text had nothing to do with the task. Rewrote with a better example. |
Puppydrum64 (talk | contribs) |
||
Line 1,351:
Is it raining? false. Do I need an umbrella? false
</pre>
=={{header|Z80 Assembly}}==
Syntax on the Z80 is very rigid; macros notwithstanding there is very little support for inverted syntax. However, since the CPU is little-endian, you can store 16-bit data as a word or 2 bytes:
<lang z80>byte &EF,&BE
word &BEEF</lang>
Both of the above are equivalent.
=={{header|zkl}}==
|