hakka icon indicating copy to clipboard operation
hakka copied to clipboard

Training-1: Add constants for important memory locations

Open simon-whitehead opened this issue 8 years ago • 0 comments

training-1 currently has a lot of this:

vm.cpu.memory[0x02] = 0x90;
vm.cpu.memory[0x03] = 0x01;

It would be great if these memory locations could be made into constants in the Rust code so that the intent of the code is much clearer.

simon-whitehead avatar Dec 28 '16 02:12 simon-whitehead