Difference between revisions of "Direct Mode"

From Intellivision Wiki
Jump to: navigation, search
 
m (Protected "Direct Mode" ([edit=autoconfirmed] (indefinite) [move=autoconfirmed] (indefinite)))
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Direct Mode]] accesses directly specify the address to read or write in the single word following the instruction.  The range of addresses a [[Direct Mode]] instruction can access is a function of the width of the ROM that contains the object code.
+
Direct Mode accesses directly specify the address to read or write in the single word following the instruction.  The range of addresses a Direct Mode instruction can access is a function of the width of the ROM that contains the object code.
  
[[Direct Mode]] instructions rely on the ADAR (Addressed Data to Address Register) [[Bus Phases|Bus Phase]] to inform the system of the address to access.  Ordinarily, the programmer need not be aware of this detail.  However, the System RAM does not correctly implement the ADAR [[Bus Phases|Bus Phase]]--it treats it as equivalent to the BAR (Bus to Address Register) [[Bus Phases|Bus Phase]].  Therefore, program code loaded into System RAM must not use [[Direct Mode]] instructions, as they will not function correctly.
+
Direct Mode instructions rely on the ADAR (Addressed Data to Address Register) [[Bus Phases|Bus Phase]] to inform the system of the address to access.  Ordinarily, the programmer need not be aware of this detail.  However, the System RAM does not correctly implement the ADAR [[Bus Phases|Bus Phase]]--it treats it as equivalent to the BAR (Bus to Address Register) [[Bus Phases|Bus Phase]].  Therefore, program code loaded into System RAM must not use Direct Mode instructions, as they will not function correctly.
 +
 
 +
The following are Direct Mode instructions.
 +
 
 +
[[MVO]]<br/>
 +
[[MVI]]<br/>
 +
[[ADD]]<br/>
 +
[[SUB]]<br/>
 +
[[CMP]]<br/>
 +
[[AND]]<br/>
 +
[[XOR]]<br/>

Latest revision as of 08:14, 4 December 2010

Direct Mode accesses directly specify the address to read or write in the single word following the instruction. The range of addresses a Direct Mode instruction can access is a function of the width of the ROM that contains the object code.

Direct Mode instructions rely on the ADAR (Addressed Data to Address Register) Bus Phase to inform the system of the address to access. Ordinarily, the programmer need not be aware of this detail. However, the System RAM does not correctly implement the ADAR Bus Phase--it treats it as equivalent to the BAR (Bus to Address Register) Bus Phase. Therefore, program code loaded into System RAM must not use Direct Mode instructions, as they will not function correctly.

The following are Direct Mode instructions.

MVO
MVI
ADD
SUB
CMP
AND
XOR