Fixed ASRB and RORB instructions, added a new dump command ("ds"), and fixed timer function initialization
This commit is contained in:
parent
9fe3ba6e09
commit
eb6bf8a5a5
9 changed files with 434 additions and 408 deletions
|
|
@ -140,7 +140,7 @@ PDP11.fnASR = function(src, dst)
|
|||
*/
|
||||
PDP11.fnASRB = function(src, dst)
|
||||
{
|
||||
var result = (dst & 0x800) | (dst >> 1) | (dst << 8);
|
||||
var result = (dst & 0x80) | (dst >> 1) | (dst << 8);
|
||||
this.updateShiftFlags(result << 8);
|
||||
return result & 0xff;
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue