RCA RMB-167 manual Port Data, Word Memory

Page 32

P Port Data

The P command is used to read from or write to the ports. Pn displays the current value of port n. If port n is an input port, then the value read is the current voltage levels applied to the ports. If port n is an output port, Pn returns the current output value to port n. Pn=mmmm sets the current value of output port n to mm.

Note that individual bits of the ports may be programmed as input or output. Thus, the word returned by Pn gives the external voltage levels applied to the input bits and the current values of the output bits.

W Word Memory

This command is identical to the M command, except that the memory contents are displayed and modified as words (2 bytes). Words start at even address.

-26-

Image 32
Contents USER’S Guide Page Page Warranty Table Of Contents 10.1.1 Hardware READS166 Evaluation Software OverviewParts List Software Installation, READS166 SoftwareSystem Requirements Third Party SoftwareConnections, Jumper Settings START-UPSoftware Initialization Serial NumberBootstrapping Verifying that the Monitor is Loaded A D S C O M M a N D STroubleshooting Hardware Set-upSoftware Set-up PC set-upPower Operating NotesSerial port Jumper SelectionMemory Options RAM Memory OptionsEprom Memory Options Alternate Memory Map with Eprom in Low MemoryMoving RMON167 to Eprom Eprom CFG1Rstisr Syscon is 89h on the 167 dw 089E6h Dw 0F800h Nop Mov 1 U1 Equations Default GAL EquationsGAL Equations 1 U1 Equations For Eprom In Low Memory Alternate GAL EquationsU2 Equations 2 U2 Equations For Eprom In Low Memory Equations JP6 System Header Signal Pins SignalHeaders and Jumpers System and I / O HeadersJP7 Input/Output Header Signal 166 JP2 JP7Signal RMB-167 JP8 Extra Input/Output Header of the RMB-167 SignalPins Analog-to-Digital Converter Reference Jumpers Bootstrapping S0RIRDiswdt Einit Mov R1, #0A55Ah Minimal Monitor Port Configuration MON167 MonitorDownload HEX file HelpPort Data Word MemoryREADS166 Version READS166 V3.00 ConceptsModule Executable ProjectsArchive Projects Circuit Diagrams