Skip to content

Instruction encoding inconsistency #3

@Shadlock0133

Description

@Shadlock0133

I noticed that html docs specify loadsp/storesp as 0b011x_xxxx/0b010x_xxxx, but while disassembling hello_world's elf file with objdump (precompiled one from zylin/zpugcc), instruction 0x70 (0b0111_0000) decodes to loadsp 0, when I expected to see loadsp 64 (16 << 2). Clarification on what's happening would be very helpful.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions