Kroc Camen on Nostr: #Z80 question for experts even though I have a lot of experience with it: the Zilog ...
#Z80 question for experts even though I have a lot of experience with it: the Zilog manual says that the IX/IY offset is relative (signed) but I have _never once_ seen negative offsets used in the wild, e.g. `ld A, [IX-$20]`, I'm not sure all assemblers even support "-" instead of "+" in IX/IY instruction, mine doesn't yet and I'd prefer to confirm this with others first.
-- edit: answer in the replies; it is signed!
#retrocomputing #retrodev
Published at
2025-06-27 11:41:15 UTCEvent JSON
{
"id": "3ddee6a19b6feee1250bb1fd63618e5436947472bf92fdec3e26e894e6be62ee",
"pubkey": "3754fc986e34725bcc41d61ccf0b34d59f6006a3bcd93390e467a5c48c5c1b5b",
"created_at": 1751024475,
"kind": 1,
"tags": [
[
"proxy",
"https://oldbytes.space/@Kroc/114755140002879400",
"web"
],
[
"t",
"z80"
],
[
"t",
"retrocomputing"
],
[
"t",
"retrodev"
],
[
"proxy",
"https://oldbytes.space/users/Kroc/statuses/114755140002879400",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://oldbytes.space/users/Kroc/statuses/114755140002879400",
"pink.momostr"
],
[
"-"
]
],
"content": "#Z80 question for experts even though I have a lot of experience with it: the Zilog manual says that the IX/IY offset is relative (signed) but I have _never once_ seen negative offsets used in the wild, e.g. `ld A, [IX-$20]`, I'm not sure all assemblers even support \"-\" instead of \"+\" in IX/IY instruction, mine doesn't yet and I'd prefer to confirm this with others first.\n\n-- edit: answer in the replies; it is signed!\n\n#retrocomputing #retrodev",
"sig": "6f5a909c1deac19e674d8f7d502cb505ce8771294aa2325da987d3e55b2d0bd404fd21a97d02e39e47db405c14c72c0846fc5e5a66dbc9f623be94905395151b"
}