summaryrefslogtreecommitdiff
path: root/usr.bin/oasm/lex.c
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2025-07-24 16:34:56 -0400
committerIan Moffett <ian@osmora.org>2025-07-24 16:34:56 -0400
commit0a8bb6da9d739d3fc6079cbf283f4dc8f6554aab (patch)
tree91650c3f0136c623091b2153f3cb1943eada41c8 /usr.bin/oasm/lex.c
parent0fa3dd385ce95647d1878bf863efa9ee251fdbdb (diff)
oemu: cpu: Keep X0 zerored as per the OSMX64 specmain
Ensure that after every instruction, we undo any potential side effects or operations upon the X0 register. The "Registers" section of the OSMX64 spec states that X0 is a 64-bit, always-zero and readonly register. All writes to this register are to be ignored by the processor. Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'usr.bin/oasm/lex.c')
0 files changed, 0 insertions, 0 deletions