copy

Copy

copy RA, RB

Initiates a hardware copy (accelerator) operation.

Details

The 'copy' instruction loads a 128-byte block of data and associated metadata from memory into the copy buffer. The effective address (EA) is calculated as the sum of RA and RB. If EA is not aligned to 128 bytes or if the storage is Caching Inhibited, appropriate error handlers are invoked.

Pseudocode Operation

if RA = 0 then
    b ← 0
else
    b ← (RA)
EA ← b + (RB)
copy_buffer ← memory(EA, 128) || MEMmetadata(EA, 128)

Programming Note

This instruction is treated as a Load, except that the data transfer ordering is described in Section 1.7.1.1.

Example

copy r4, r5

Encoding

Binary Layout
31
0
/
6
RA
10
RB
16
706
/
 
Format X-form
Opcode 0x7C000584
Extension Privileged

Operands

  • RA
    Dest/Control
  • RB
    Source