fix set instruction
This commit is contained in:
parent
8d13bd6b18
commit
63d7fb1464
1 changed files with 1 additions and 1 deletions
|
@ -234,7 +234,7 @@ where
|
||||||
}
|
}
|
||||||
ProcessorInstruction::Set(vx, vy) => {
|
ProcessorInstruction::Set(vx, vy) => {
|
||||||
trace!("Set VX={vx:04x} VY={vy:04x}");
|
trace!("Set VX={vx:04x} VY={vy:04x}");
|
||||||
self.registers[vx as usize] = vy;
|
self.registers[vx as usize] = self.registers[vy as usize];
|
||||||
}
|
}
|
||||||
ProcessorInstruction::BinaryOr(vx, vy) => {
|
ProcessorInstruction::BinaryOr(vx, vy) => {
|
||||||
trace!("BinaryOr VX={vx:04x} VY={vy:04x}");
|
trace!("BinaryOr VX={vx:04x} VY={vy:04x}");
|
||||||
|
|
Loading…
Reference in a new issue