Back
MASM : AGU : ATR0H
ATR0H:

Syntax:

  • ATR0H Rd BS
Description:

Performs AGU-To-RegisterFile data transfer, i.e. writes data contained in the AGU accumulator the to low bank of Rd via port 4 (P4 in microcode below) according to BS (bank select). The high part of the register is set to zero if enabled by BS. The instruction is stack conditioned.

Microcode Pattern:

Takes 2 cycles to execute.
    Example: ATR0H 0xA4 3

	  
	IOC   BS4 C4 P4
	---------------
	AZH    0  0  00
	 -     3  0  A4

	  
Exceptions :

NOT YET

Example :

ATROH 0x20 3 
  !! Writes data contained in AGU 
  !! accumulator to the low bank 
  !! of register 0x20 and pads the 
  !! high bank with zeroes.

APE Group Zeuthen. 2003
$Id: atr0h_masm.php,v 1.3 2004/08/04 09:35:23 noe Exp $
$Id: syntax.php,v 1.8 2004/08/04 09:25:34 noe Exp $