Literals/Integer: Difference between revisions
Content deleted Content added
Puppydrum64 (talk | contribs) No edit summary |
Puppydrum64 (talk | contribs) |
||
Line 2,182: | Line 2,182: | ||
65 |
65 |
||
</pre> |
</pre> |
||
=={{header|Z80 Assembly}}== |
|||
Numeric values can be defined in decimal, binary, or hexadecimal. |
|||
<lang z80>byte &55 ;hexadecimal 55 |
|||
byte $42 ;hexadecimal 42 |
|||
byte 33 ;decimal 33 |
|||
byte %00001111 ;binary equivalent of &0F</lang> |
|||
=={{header|zkl}}== |
=={{header|zkl}}== |