CSPspEmu.Core.Cpu.Emitter.CpuEmitter._branch_post C# (CSharp) Method

_branch_post() public method

public _branch_post ( AstLabel BranchLabel, uint BranchPC ) : AstNodeStm
BranchLabel AstLabel
BranchPC uint
return AstNodeStm
        public AstNodeStm _branch_post(AstLabel BranchLabel, uint BranchPC)
        {
            if (this.AndLink)
            {
                return ast.If(
                    BranchFlag(),
                    ast.StatementsInline(
                        ast.AssignGPR(31, BranchPC + 8),
                        CallFixedAddress(BranchPC)
                    )
                );
            }
            else
            {
                return ast.Statements(
                    //ast.AssignPC(PC),
                    //ast.GetTickCall(),
                    ast.GotoIfTrue(BranchLabel, BranchFlag())
                );
            }
        }
CpuEmitter