Skip to content

Undocumented instructions #2

@ghost

Description

https://github.com/joeledstrom/brookshear-emu/blob/master/src/main/scala/emulator/MachineInstruction.scala

case 0xD => ShiftOp(firstOperand, thirdOperand, (_ << _), "SHL r%d <- r%d << r%d")
case 0xE => ShiftOp(firstOperand, thirdOperand, (_ >> _), "SAR r%d <- r%d >> r%d")

There are NO such instructions in the book (at the least in my edition). I have no idea why they were even added in the first place.

I suggest one of following things:

1.Documenting them and renaming the project as "Extended Brookshear Machine Emulator".

2.Deleting them for sake of purism.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions