Skip to content

proposals: Add Errata the Machine Reference #21

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ChenMiaoi
Copy link

There is an error for the l.nop insn in the Section Machine Reference, fix the OPC for l.nop from 0x05 to 0x15.

There is an error for the l.nop insn in the Section Machine Reference,
fix the OPC for l.nop from 0x05 to 0x15.

Signed-off-by: chenmiao <chenmiao.ku@gmail.com>
@stffrdhrn
Copy link
Member

Thanks for spotting this. Could you find and others that do not match?

@ChenMiaoi
Copy link
Author

Thanks for spotting this. Could you find and others that do not match?

sure, I check all the Machine Reference later

There are some error for the insn in the Section Machine Reference,
fix all the OPCs to correct OPCs.

Signed-off-by: chenmiao <chenmiao.ku@gmail.com>
@stffrdhrn
Copy link
Member

Can you change the title, "Add errata the machine reference" is not very understandable. Maybe "Fix errors in the machine reference"?

*the OPC for l.nop should be ​​0x15​​ instead of ​​0x05​​*.
but there is an error in the presentation of the instruction:

1. *the OPC for l.nop should be ​​0x15​​ instead of ​​0x05​​*.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually I think this and the rest are right, the OPC in the machine code reference is just considering the first 5 bits of the machine instruction.

So for l.nop first 6-bits is 0b000101. which is 0x05. This is the same for all others.

In the instruction definitions section the l.nop opcode mentioned is 8-bits. But for other instructions iit may be more.

Perhaps for this errata we can just add a code to the "Machine Code Reference" that the OPC column only represents the first 6-bits of the opcode.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah, if you add the code to represent the first 6-bits of opcode, there are no more questions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants