TABLE OF CONTENTS
Page
General
Description
. . . . • • • • • . . . • . • . • • . • . • . . • • • . • • • • • . • . . • • • • . • . . . . • • . • . . 1
High-Speed
Memory
• • . • . . . • • • • . • . • • . • . • . • . • . • . . • • • . • • . • • • . • • • • • • . . . • • • • • • 3
Introduction
.••..•.•••...•.•....•.•.••.•..•••..•..••••••..••••••.•..
3
HSM
Addressing
..••••••..•.•••••.••.••.•.•.•.•..•.••.•..••.•••...•..
3
Hexadecimal
Numbering
System
• . . • • • . • . . • . • . . • • • . • . • • • • . • • • • . . • • • . . • • • • • • 4
Exercise
.••••••......•.•.•.•.••••••.•.•.••••••.•••••••••..•.•..•••
5
Data
and
Instruction
Format
........•.•.••.•••••.•.•..•.•••••..•.•.••••...••
6
Data
Formats
. . . . • . • . • . • . • • • • • . • . • • . • • • • • • • • • • • • . • . • • • • • • • • • • . • • • • . • 6
Unpacked
Format
.•.•..•••••••••.•.•••••••.••••.••••.••••.••.••••.•••
6
Edited
Format
.•.•...••••••......•..•..•••..•.•..•.•.•••.•.•.••.••••
6
Machine
Instruction
Format
•.•...••.••••••••...••.••.•.••.•.•.••....••••
7
Exercise
.•••.•..•.•..••..••••••••••••.••••••••.•..•.••••••..••••.•
7
Interrupt
.••..•.•..•••.•.••.••••.••••.•.....••.•••..••••••.•.••.••.•.•
9
Introduction
••.•.•.•..•••....•.•.•..•..•..•.•.....••.•.••..••••..•..
9
Programming
States.
. . • . • • • . • • . • . • . • . • . • • • . • • • • . • • . • . • • . • • • • • • . • • • • • • • 9
Processing
State
. . . . . . . . • . . . . . . • . . . . • • • . • . • . . • . . . . . . . . . . . • . . . . . . . • . • • 9
Interrupt
State
• . • . • . • • • . . . • . . . . . . • • • • • • . • . • . . • • . • • . . • • • • . • • . . . • • • • • . • 9
Types
of
Interrupt
. • • . • • . . . . . . . • . • . • . . . . • . . . . . . . . . . . • • • • • • . • . . • . . • . . . • 9
I/O
Interrupt
•.
. . • • • . . • • • • • • . • . • . • • . • • • • • . . • . • . . . . . . • • . • . • . • . • . . • . • • 9
Operation
Code
Trap
.•...•••••.•.•.•••••••........•..••.....•........•
10
Arithmetic
Overflow
and
Divide
Exception
. . . . . • . • . . . . . • . • . . . . . . . • . . . . . . . . . . . .
10
Elapsed
Timer
Interrupt.
. . . . . • . • . . . • . . . . . . . . . • . • . . . . • . . . • • • • • . . . . . . . • . . 11
Inhibiting
Interrupt
•••..•••.••.•..•.•..••....•...•....•.•••......•....
11
Exercise
...•....•.............•.................•......•...•....•.
11
Summary
of
Interrupt
Logic
..•..•..•.•...•...•.•......••.•....•..•......
12
Elapsed
Time
Clock.
• • • • . • • • • • • • . • • • . • • • . . • . • . • . • • • . • • • . • • • • • • . . . • . • • • • . .
13
Introduction
to
the
RCA
70/25
Assembly
Language
.
..•
• • • . • . • • • . • . • • • . • • • . • . . • • . • • •
14
Format
Requirements
•••.•.•••.•.•••.•.•••...•••.••••.•••.••.•..••••..
14
Addressing
. . • • • • . • • . • • • • . • • • . . • • • . • . • . • • • • • . • . . • . • • • . • • • • • • . • • • . • • •
14
Self-Defining
Values
•••••.••••.•••••.•.•.•••.••.••••.•••••••••.•..•.•.
16
Expressions
• . • • • . • . • • • • • • • . . • • • . . . • . • . • . • . • • • • • . . • . • • • • • • • • • . • • • • . . 16
Implied
Lengths
..........•.•.•.....•..•...•.•......•.•.•...•.....•.•
17
Assembler
Controlling
Codes
•.••.•••..••••••••.•...•••.••••...••••..•••.
17
Define
Storage
(DS)
.•.•.•.••..•.•.•••••••.•.••••.••••••••.•..•.•.••
18
Origin
Code
(ORG) • . • . . . • . • . • . . • • . • • . . . . . . . • • . . • . • . • • . . • . . • . . . . . . • •
18
Constant
Definition
(DC)
...•.•.•...•.••.••.•.....••...
0 • • • • • • • • • • • • • •
18
Program
Linking
Codes
(ENTRY
and
EXTRH)
.•.•.•........
0 • • • • • • • • • • • • • • •
19
Run
and
Segment
Controlling
Codes
(START,
END,
CSECT)
. . . . . . . . . . . . . . . . • . . 20
Equate
Code
(EQU)
....•....•.........•........•..•.....•.......•••
21
Base
Register
Controlling
Codes
(USING, DROP)
.........•..................
21
Extended
Mnemonic
Instructions
. • . . . • . • . • . • • . . • . • . . . . . . . . . . . • . . • • . • . . . •
21
Exercise
.....•.•.•.•.......•...•......•.........•.................
22