mirror of
https://github.com/pskupinski/65816.js.git
synced 2024-09-28 06:58:32 +00:00
make the examples a bit more obvious as to how to use
This commit is contained in:
parent
a580ef2cdb
commit
67b19ee43a
6
README
6
README
@ -6,10 +6,12 @@ You call the execute function of the cpu object with a raw hex string representi
|
||||
|
||||
Short examples to try out:
|
||||
|
||||
18fba9ff0185ff64ffa5ff
|
||||
var cpu = new CPU_65816();
|
||||
|
||||
cpu.execute("18fba9ff0185ff64ffa5ff", false);
|
||||
|
||||
cpu.r.a should be 0 after executing this.
|
||||
|
||||
18fba9ff01a0010099fea5ff
|
||||
cpu.execute("18fba9ff01a0010099fea5ff", false);
|
||||
|
||||
cpu.r.a should be 511 after executing this.
|
||||
|
Loading…
Reference in New Issue
Block a user