Ypsilon.Emulation.Processor.YCPU.DisassembleINC C# (CSharp) Method

DisassembleINC() private method

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
return 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}";
        }