readw method
Reads 1 word from the current program counter address and advances the program counter programCounter to the next unread address.
Equivalency:
final result = this.mem.loadw(PC);
PC += 2;
Implementation
int readw() {
final word = mem.loadw(programCounter);
programCounter += 2;
return word;
}