public void ExpandMacro()
        {
            MacroInOutInstruction inInstruction = MacroInOutInstruction.MakeIn();

            CheckExpandMacro(inInstruction, 1, "IN 命令の展開結果 => SVC 命令のオペランドは 1");

            MacroInOutInstruction outInstruction = MacroInOutInstruction.MakeOut();

            CheckExpandMacro(outInstruction, 2, "OUT 命令の展開結果 => SVC 命令のオペランドは 2");
        }
        private void CheckReadOperand(
            String text, Boolean success,
            Label expectedAreaSpecBuffer, Label expectedAreaSpecLength, String message)
        {
            MacroInOutInstruction actual = MacroInOutInstruction.MakeIn();

            ProgramInstructionTest.CheckReadOperand(actual, text, success, message);
            if (success)
            {
                LabelTest.Check(expectedAreaSpecBuffer, actual.AreaSpec.Buffer, message);
                LabelTest.Check(expectedAreaSpecLength, actual.AreaSpec.Length, message);
            }
        }