Added 'Misc./rasterpython_eremias++/instructions.epp'

This commit is contained in:
anon 2024-07-22 19:39:19 +02:00
parent a107ba862f
commit c9c26eb7e9

View File

@ -0,0 +1,28 @@
@ comment
instructions = [
["syscall"],
["sysret"],
["sysexit"],
["sysenter"],
["leave"],
["retf"],
["retn"],
["pause"],
["hlt"],
["lock"],
]
n = (len instructions) - 1
for range n -> i:
print i
print instructions ' i
func malformed_instruction i:
i2s = "\i" \ i
msg = "Instruction " + i2s + " is malformed"
print msg
goto 0
malformed_instruction instructions ' 2