On this page:
fetch*
store*
store
fetch

9 11xx - Fetch/Store🔗

private opcode

(fetch* w R i)

 
w = bb68-gpr
     
R = bb68-gprp
 
  w : (integer-in 0 15)
  R : (integer-in 0 7)
  i : (integer-in 0 63)

image

 mask: e000

value: e000

This instruction causes fetching a single word from an addresable place at address R + i into general purpose register w. That addresable place can be a memory or a memory mapped device. That distinction is not reflected in the instruction and the bus controller is responsible for routing the fetch request to the right subsystem.

private opcode

(store* R i t)

 
R = bb68-gprp
     
t = bb68-gpr
 
  R : (integer-in 0 7)
  i : (integer-in 0 63)
  t : (integer-in 0 15)

image

 mask: e000

value: c000

This instruction causes storing a single word to an addresable place at address R + i from a general purpose register t. That addresable place can be a memory or a memory mapped device. That distinction is not reflected in the instruction and the bus controller is responsible for routing the store request to the right subsystem.

macro opcode

(store variant)

 
variant = a:bb68-gprp i:bb68-word r:bb68-gpr
  | a:bb68-gprp i:bb68-word r:bb68-gprp
Stores (spills) a register or register pair r to a given address a and offset i.

macro opcode

(fetch variant)

 
variant = r:bb68-gpr a:bb68-gprp i:bb68-word
  | r:bb68-gprp a:bb68-gprp i:bb68-word
Fetches (unspills) to a register or register pair r from a given address a and offset i.