From d8d9dfa855c83fe52c7b8d26ef1f52dafdec8fa0 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Wed, 31 Mar 2021 23:16:01 -0700 Subject: some hacky checks for common errors They're not really baked into the regular compilation process; I have to remember to run them if I see strange behavior. --- linux/bootstrap/033check_operands.cc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'linux') diff --git a/linux/bootstrap/033check_operands.cc b/linux/bootstrap/033check_operands.cc index c764fc61..62618204 100644 --- a/linux/bootstrap/033check_operands.cc +++ b/linux/bootstrap/033check_operands.cc @@ -145,6 +145,10 @@ void init_permitted_arguments() { put(Permitted_arguments, "99", 0x00); // return put(Permitted_arguments, "c3", 0x00); + // enable/disable interrupts + // not really part of SubX; just needed in low-level boot.subx + put(Permitted_arguments, "fa", 0x00); + put(Permitted_arguments, "fb", 0x00); //// Class B: just op and disp8 // imm32 imm8 disp32 |disp16 disp8 subop modrm -- cgit 1.4.1-2-gfad0