Ejemplo n.º 1
0
        public void GenerateCode_WithDefinedLabel_NoExecStartLabel()
        {
            ExecStartAddress execStartAddress = ExecStartAddress.MakeForUnitTest(null);

            CheckGenerateCode(m_definedLabel, execStartAddress, true, "実行開始番地のラベルが空");
            CheckEntryPoint(
                m_definedLabel, m_definedLabel,
                "ExecStartLabel と ExportLabel の両方に START 命令に定義したラベルが設定される");
        }
Ejemplo n.º 2
0
        public void GenerateCode_NoDefinedLabel()
        {
            ExecStartAddress dontCare = ExecStartAddress.MakeForUnitTest(m_execStartLabel);

            CheckGenerateCode(null, dontCare, false, "定義されたラベルなし => 例外");
        }