Skip to content

Commit 3295ec4

Browse files
committed
Update comments
1 parent 0289ebc commit 3295ec4

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

src/arch/zx48k/backend/__pload.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,12 @@ def _paddr(ins):
5151

5252
def _pload(offset, size):
5353
""" Generic parameter loading.
54-
Emits output code for setting IX at the right location.
54+
Emits output code for loading at (IX + offset).
5555
size = Number of bytes to load:
56-
1 => 8 bit value
57-
2 => 16 bit value / string
58-
4 => 32 bit value / f16 value
59-
5 => 40 bit value
56+
1 => 8 bit value # A register
57+
2 => 16 bit value / string # HL register
58+
4 => 32 bit value / f16 value # DE (HI), HL (LO) register
59+
5 => 40 bit value / float value # A (exp) BC (HI), DE (LO) mantissa (as ZX Spectrum ROM)
6060
"""
6161
output = []
6262

0 commit comments

Comments
 (0)