Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Instruction [sltiu (ArithLogI) $t = ($s <SE(i))] will behave as and be assembled as [addiu (ArithLogI) $t = $s + SE(i)] due to conflict in ISA #24

Open
ParkerTenBroeck opened this issue Jan 19, 2021 · 2 comments
Labels
Assembler anything related to the assembly process invalid This doesn't seem right Virtual CPU anything related with the virtual CPU that runs machine instructions

Comments

@ParkerTenBroeck
Copy link
Owner

Both [sltiu (ArithLogI) $t = ($s <SE(i))] and [addiu (ArithLogI) $t = $s + SE(i)] have the same OP code of 0b001001. Because of this Only one can be supported. See the MIPS ISA / Encoding reference
doc.zip
for more information

@ParkerTenBroeck ParkerTenBroeck added invalid This doesn't seem right wontfix This will not be worked on Virtual CPU anything related with the virtual CPU that runs machine instructions Assembler anything related to the assembly process labels Jan 19, 2021
@ParkerTenBroeck
Copy link
Owner Author

Found online documentation where
SLTIU op code is 0b001011
ADDIU op code is 0b001001

@ParkerTenBroeck ParkerTenBroeck removed the wontfix This will not be worked on label Feb 22, 2021
@jimw278
Copy link
Contributor

jimw278 commented Feb 22, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Assembler anything related to the assembly process invalid This doesn't seem right Virtual CPU anything related with the virtual CPU that runs machine instructions
Projects
None yet
Development

No branches or pull requests

2 participants