summary refs log tree commit diff
path: root/exit-code.asm
diff options
context:
space:
mode:
authorIrene Knapp <ireneista@irenes.space>2025-11-10 17:39:47 -0800
committerIrene Knapp <ireneista@irenes.space>2025-11-10 21:25:56 -0800
commite85b9d90978705054991cfb67c975d9856813a21 (patch)
treecd78a64bb303a16186f5b73dd64f5828f0261da1 /exit-code.asm
parent9368baad9d59f4d00aa11fa1f277be27cf9b412b (diff)
implement stringcmp, with extensive commenting
and a lot of other stuff necessary for that, as follows

implement the "adc" and "sbb" instructions in flatassembler (there's no Forth implementation of them yet)

implement "cmps8" in flatassembler; Forth already has a much more thorough suite of string instructions

add Forth jmp_rel_imm8 and flatassembler jmp.rel.bimm unconditional jumps. they're nver used, it just seems like they should exist.

split the disp8 case from the indirect case for the flatassembler implementation of register-to-register mov, to match how the Forth implementation works

fix the name of mov.disp8.qreg.qreg, which had been incorrectly named mov.qreg.disp8.qreg. it's never called anyway.

fix a citation for the MOV instruction; Intel's section numbers are confusing.

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