summary refs log tree commit diff
path: root/exit-code.gnu.asm
diff options
context:
space:
mode:
authorIrene Knapp <ireneista@irenes.space>2025-11-06 14:33:55 -0800
committerIrene Knapp <ireneista@irenes.space>2025-11-06 14:33:55 -0800
commit7c0227c5b6466b911add5afec0accaca368131a5 (patch)
tree3b280f963594c9865ccaab1067a06b4066679154 /exit-code.gnu.asm
parent082852f882c7dd64f18fe81193771f4d15dc48da (diff)
rename all the modrm_* words to addressing_*
also re-order "sib" to be before them

we were about to add one for indexed modes, and realized that really, these words are responsible for both the ModRM and SIB bytes, it's just that some modes only need one of them. this makes their responsibilities clearer, and as a bonus it draws a stronger distinction between these high-level words and the low-level "modrm", which omits consistency checking. having it called something else reduces the likelihood of inappropriately using the low-level one when a high-level one would be more suitable.

their names are a bit long now, but that's probably also good, it will incentivize building higher-level abstractions that define multiple variants of instructions rather than writing each one by hand. someday.

Force-Push: yes
Change-Id: Ia8f8fcc0e092f94e66f17a3fa55e8bf3e927fdff
Diffstat (limited to 'exit-code.gnu.asm')
0 files changed, 0 insertions, 0 deletions