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 0289ebc commit 3295ec4Copy full SHA for 3295ec4
1 file changed
src/arch/zx48k/backend/__pload.py
@@ -51,12 +51,12 @@ def _paddr(ins):
51
52
def _pload(offset, size):
53
""" Generic parameter loading.
54
- Emits output code for setting IX at the right location.
+ Emits output code for loading at (IX + offset).
55
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
+ 1 => 8 bit value # A register
+ 2 => 16 bit value / string # HL register
+ 4 => 32 bit value / f16 value # DE (HI), HL (LO) register
+ 5 => 40 bit value / float value # A (exp) BC (HI), DE (LO) mantissa (as ZX Spectrum ROM)
60
"""
61
output = []
62
0 commit comments