We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e9979c5 commit 522b61eCopy full SHA for 522b61e
1 file changed
arch/zx48k/backend/__init__.py
@@ -498,9 +498,9 @@ def _varx(ins):
498
499
def _vard(ins):
500
""" Defines a memory space with a default set of bytes/words in hexadecimal
501
- (starting with a number) or literals (starting with #).
+ (starting with an hex number) or literals (starting with #).
502
Numeric values with more than 2 digits represents a WORD (2 bytes) value.
503
- E.g. '01' => 0, '001' => 1, 0 bytes
+ E.g. '01' => 01h, '001' => 1, 0 bytes (0001h)
504
Literal values starts with # (1 byte) or ## (2 bytes)
505
E.g. '#label + 1' => (label + 1) & 0xFF
506
'##(label + 1)' => (label + 1) & 0xFFFF
0 commit comments