previous | contents | next

Section 3 Concurrency: Single-Processor System 273


Table 7 STARAN Macro-Apple Instruction Set1

I. Macro directives

LCLA

LCLC GBLA GBLC

MACRO

MEND

MGO

MLMT

MSET

MDCL

MNOP

MNOTE

MEXIT

DECLARE LOCAL ARITHMETIC STRING

DECLARE LOCAL CHARACTER STRING
DECLARE GLOBAL ARITHMETIC STRING
DECLARE GLOBAL CHARACTER STRING

BEGIN MACRO DEFINITION

END MACRO DEFINITION

BRANCH CONDITIONALLY

SET LIMIT ON NUMBER OF MGO STATEMENTS

ASSIGN VALUE TO MACRO VARIABLE SYMBOL

DECLARE ARGUMENT FIELD SYMBOLS TO BE MACROS

INSERT SEQUENCE SYMBOL

ISSUE MACRO ERROR MESSAGE

TERMINATE MACRO DEFINITION

II. Assembler directives

START

END

ORG EQU

DF

DS

TOF

DC

GEN

NOP

DA

EXTRN

ENTRY

AIF AGO ANOP

AERR

NLIST

LIST

START APPLE SOURCE PROGRAM

ENDAPPLE SOURCE PROGRAM

INITIALIZE LOCATION COUNTER
EQUATE VALUE TO SYMBOL

DEFINE COMMON REGISTER OR ARRAY FIELD

DEFINE STORAGE IN AP CONTROL MEMORY

ADVANCE TO TOP OF FORM

DEFINE CONSTANT VALUE IN AP CONTROL MEMORY

GENERATE MACHINE INSTRUCTION

PERFORM NO OPERATION

GENERATE CHARACTER STRING

REFERENCE EXTERNALLY DEFINED SYMBOLS

DEFINE EXTERNALLY REFERENCED SYMBOLS

CONDITIONALLY ALTER ASSEMBLY SEQUENCE UNCONDITIONALLY ALTER ASSEMBLY SEQUENCE ASSIGN EXECUTION LOCATION COUNTER TO SYMBOL

INCREMENT ASSEMBLER ERROR COUNTER

OPTIONALLY DISABLE ASSEMBLY LISTING

ENABLE ASSEMBLY LISTING

III. Branch instructions

B

BZ

BNZ

BBS

BBZ

BRS

BNR

BOV BNOV

BAL

RPT LOOP

BRANCH UNCONDITIONALLY

BRANCH IF REGISTER IS ZERO

BRANCH IF REGISTER IS NOT ZERO

BRANCH IF COMMON REGISTER BIT IS SET

BRANCH IF COMMON REGISTER BIT IS ZERO

BRANCH IF ANY Y RESPONSE STORE BIT IS SET

BRANCH IF ALL Y RESPONSE STORE BITS ARE ZERO

BRANCH IF ANY ARITHMETIC OVERFLOW
BRANCH IF NO ARITHMETIC OVERFLOW

BRANCH AND LINK TO SUBROUTINE

REPEAT NEXT INSTRUCTION
LOOP THROUGH AN ADDRESS

IV. Load and Store register instructions

LRR LI

LR

SR INCR DECR LPSW SPSW

LOAD REGISTER(S) FROM REGISTER(S)
LOAD REGISTER(S) WITH IMMEDIATE VALUE

LOAD REGISTER(S) FROM AP CONTROL MEMORY

STORE REGISTER(S) IN AP CONTROL MEMORY
INCREMENT REGISTER(S)
DECREMENT REGISTER(S)
LOAD PROGRAM STATUS WORD FROM AP CONTROL MEMORY
SWAP PROGRAM STATUS WORD

V. Associative array instructions

A. Load Response Store (RS) Register

L

LN

LOR LORN

LAND LANDN

LXOR

LXORN LC

LCM LCW SET CLR ROT

LOAD RS FROM SOURCE

COMPLEMENT SOURCE, THEN LOAD RS

INCLUSIVE-OR SOURCE WITH RS
COMPLEMENT SOURCE, THEN INCLUSIVE-OR SOURCE WITH RS

AND SOURCE WITH RS
COMPLEMENT SOURCE, THEN AND SOURCE WITH RS

EXCLUSIVE-OR SOURCE WITH RS

COMPLEMENT SOURCE, THEN EXCLUSIVE-OR SOURCE WITH RS LOAD COMMON REGISTER FROM FIELD IN ARRAY WORD

LOAD COMMON REGISTER FIELD FROM FIELD IN ARRAY WORD LOAD COMMON REGISTER FROM RESPONSE STORE REGISTER FIELD SET RESPONSE STORE REGISTER
CLEAR RESPONSE STORE REGISTER
ROTATE RESPONSE STORE OR COMMON REGISTER

B. Store Response Store (RS) Register

S

SM

SN SNM SOR SORM

SORN SORNM SAND SANDM

STORE RS INTO ASSOCIATIVE ARRAY

STORE MASKED RS INTO ARRAY

COMPLEMENT RS, THEN STORE RS INTO ARRAY
COMPLEMENT RS, THEN STORE MASKED RS INTO ARRAY
INCLUSIVE-OR RS WITH ARRAY
INCLUSIVE-OR MASKED RS WITH ARRAY

COMPLEMENT RS, THEN INCLUSIVE-OR RS WITH ARRAY COMPLEMENT RS, THEN INCLUSIVE-OR MASKED RS WITH ARRAY
AND RS WITH ARRAY
AND MASKED RS WITH ARRAY

1Goodyear Aerospace Corp.

previous | contents | next