Skip to content

rename instructions #3

@vadixidav

Description

@vadixidav

When the architecture was first created, the only intended way to interface with the DCs was by reading and writing directly from them. Once immediate instructions were created to pull from dc0 specifically, using it as a source for immediate values, the architecture now has a confusing naming convention regarding what immediate means. Many of the instructions should be renamed to reflect newer design paradigms.

All instructions which read a value from dc0 specifically and cannot be used on other DCs should be considered "immediate" instructions. Those should contain the letter 'i' in their name.

All instructions which read a value from any DC should continue to be called by their name followed by a #, indicating that the # can be replaced with 0-3 for the DC being used.

Other names (including jumps/branching) should be cleaned up according to this convention and standardized.

List:

  • Immediate instructions end with "i"
  • DC instructions end with "#"
  • Interrupt instructions begin with "int"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions