Ypsilon.Emulation.Processor.YCPU.DisassembleINC C# (CSharp) 메소드

DisassembleINC() 개인적인 메소드

private DisassembleINC ( string name, ushort operand, ushort nextword, ushort address, bool showMemoryContents, ushort &instructionSize ) : string
name string
operand ushort
nextword ushort
address ushort
showMemoryContents bool
instructionSize ushort
리턴 string
        private string DisassembleINC(string name, ushort operand, ushort nextword, ushort address, bool showMemoryContents, out ushort instructionSize)
        {
            instructionSize = 2;
            RegGeneral destination;
            ushort value;
            BitPatternIMM(operand, out value, out destination);
            return $"{name,-8}{NameOfRegGP(destination)}, ${value:X2}";
        }