bugfix: inc r16 should not decrement r16
This commit is contained in:
@@ -323,7 +323,7 @@ mod instructions {
|
||||
Ok(())
|
||||
}
|
||||
pub fn inc16(&mut self, reg: R16) -> IResult {
|
||||
self[reg] -= 1;
|
||||
self[reg] += 1;
|
||||
Ok(())
|
||||
}
|
||||
pub fn dec16(&mut self, reg: R16) -> IResult {
|
||||
|
||||
Reference in New Issue
Block a user