readb method

int readb()

Reads 1 byte from the current program counter address and advances the program counter programCounter to the next unread address.

Equivalancy:

final result = this.mem.loadb(PC);
PC++;

Implementation

int readb() => mem.loadb(programCounter++);