From e6bd2657291821ab985b459d2d66533b63869f65 Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Fri, 11 Mar 2022 20:34:28 -0500 Subject: [PATCH] Explain which BOUNDs operand is which. --- InstructionSets/x86/Instruction.hpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/InstructionSets/x86/Instruction.hpp b/InstructionSets/x86/Instruction.hpp index 1777a1081..75ecfe73b 100644 --- a/InstructionSets/x86/Instruction.hpp +++ b/InstructionSets/x86/Instruction.hpp @@ -210,13 +210,14 @@ enum class Operation: uint8_t { BOUND, - // TODO: expand detail on all operations below. - - /// Create stack frame. + /// Create stack frame. See operand() for the nesting level and offset() + /// for the dynamic storage size. ENTER, /// Procedure exit; copies BP to SP, then pops a new BP from the stack. LEAVE, + // TODO: expand detail on all operations below. + /// Inputs from a port, incrementing or decrementing the destination. INS, /// Outputs to a port, incrementing or decrementing the destination.