Search   
Home  Print View  

 

Overview

Branch Content

Addressing Modes

Register  : Data is contained in given register.
          : mov a, b       ; A=B

Immediate : Data if given in the word following the op. cod (operand).
          : movi  a, data  ; A=data

Direct    : Data is in the memory location which address is given in the word following the op. cod. (operand).
          : ld a, addr     ; A=[addr]

Indirect  : Data is in the memory location which address is contained in a register used as a pointer.
          : ldx a, d       ; A=[D]

Relative  : (Branch only). Jump to OFF_SET relative to current instruction address. The OFF_SET if given as an operand.
          : jnzr OFF_SET   ; PC=PC+OFF_SET

Relative Indirect: (Branch only). The OFF_SET is the content of given register.
          : jnzrx  d       ; PC=PC+d

Stack     : Data comes from the Stack which is always pointed by register SP.
          : pop a          ; A=[SP]; SP=SP-1

Homebuilt CPUs WebRing

JavaScript by Qirien Dhaela

Join the ring?

David Brooks, the designer of the Simplex-III homebrew computer, has founded the Homebuilt CPUs Web Ring. To join, drop David a line, mentioning your page's URL. He will then add it to the list.
You will need to copy this code fragment into your page.

Project start date: May 13 of 2009