bugfix: inc r16
should not decrement r16
This commit is contained in:
parent
dbc9552908
commit
dff0df87e9
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user