From c9c26eb7e9bd5d97de99eb66f1eb25d2281c0237 Mon Sep 17 00:00:00 2001 From: anon <anon@anon.anon> Date: Mon, 22 Jul 2024 19:39:19 +0200 Subject: [PATCH] Added 'Misc./rasterpython_eremias++/instructions.epp' --- Misc./rasterpython_eremias++/instructions.epp | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 Misc./rasterpython_eremias++/instructions.epp diff --git a/Misc./rasterpython_eremias++/instructions.epp b/Misc./rasterpython_eremias++/instructions.epp new file mode 100644 index 0000000..9b6e569 --- /dev/null +++ b/Misc./rasterpython_eremias++/instructions.epp @@ -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