Disassemble() public method

public Disassemble ( ushort address, int count, bool extendedFormat = true ) : string[]
address ushort
count int
extendedFormat bool
return string[]
Beispiel #1
0
        private string[] Disassemble(BinaryReader reader)
        {
            YCPU ycpu = new YCPU();
            byte[] data = new byte[reader.BaseStream.Length];
            reader.BaseStream.Read(data, 0, data.Length);
            ycpu.BUS.FillROM(data);

            string[] disassembled;
            disassembled = ycpu.Disassemble(0x0000, 32000, false);

            return disassembled;
        }