Skip to content

Commit 522b61e

Browse files
committed
Updates comment
1 parent e9979c5 commit 522b61e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

arch/zx48k/backend/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -498,9 +498,9 @@ def _varx(ins):
498498

499499
def _vard(ins):
500500
""" Defines a memory space with a default set of bytes/words in hexadecimal
501-
(starting with a number) or literals (starting with #).
501+
(starting with an hex number) or literals (starting with #).
502502
Numeric values with more than 2 digits represents a WORD (2 bytes) value.
503-
E.g. '01' => 0, '001' => 1, 0 bytes
503+
E.g. '01' => 01h, '001' => 1, 0 bytes (0001h)
504504
Literal values starts with # (1 byte) or ## (2 bytes)
505505
E.g. '#label + 1' => (label + 1) & 0xFF
506506
'##(label + 1)' => (label + 1) & 0xFFFF

0 commit comments

Comments
 (0)