Southwest Specialty Products 6800 Memory Examine and Change M addr, Register Dump Function R

Page 4

MEMORY EXAMINE AND CHANGE M (addr)

The Memory Examine and Change function can be used to enter machine code programs and to display and/or change the contents of memory. The Memory Examine and Change function should be used as follows:

1.) Type M. The computer should echo the M and output a space.

2.) Type in the four digit hexadecimal address that you wish to examine and/or change. The computer should respond with a carriage return, line feed, $, the address and the data that is stored at this address.

3.) At this point the user has the option of advancing, either forward or backward, to the

next memory location, or changing the data stored at the displayed address and advancing to the next location or of exiting the M function.

a.) To display the next sequential address and data, a line feed or any character other than 0123456789ABCDEF:;^=>? or a space or a carriage return may be entered. Any leading spaces that are entered will be ignored by the memory change function.

b.) To display the next sequential address going backward from the present location, a ^ should be entered.

c.) To change the data stored at the displayed location, enter the new data, either with or without a leading space. If a non-hex value, such as a 3Q is entered the data will remain unchanged and the memory change function will be exited. If the data is unable to be changed (write protected memory, etc.) a ? will be output and the memory change function will be exited.

d.) To exit the Memory Examine and Change function, type a carriage return.

Below is an example. The underlined parts are what was entered by the user.

$M 0100

 

 

 

MEMORY LOCATION 0100 OPENED

$0100 00

.

 

 

DISPLAY

NEXT

LOCATION

 

$0101 BD

 

.

 

DISPLAY

NEXT

LOCATION

– SPACE IGNORED

$0102 5D

.

 

 

DISPLAY

NEXT

LOCATION

 

$0103 C1

01

 

 

CHANGE CONTENTS TO 01

 

$0104 C9

 

 

23 CHANGE CONTENTS TO 23. SPACES IGNORED

$0105 15

^

 

 

READ PREVIOUS LOCATION

 

$0104 23

.

 

 

DISPLAY

NEXT

LOCATION

 

$0105 15

3Q

 

 

ENTER NON-HEX VALUE

 

$M 0105

 

 

 

SWTBUG CONTROL RESUMED. OPEN NEW LOCATION

$0105 15

 

 

 

EXIT BY

HITTING CARRIAGE RETURN

$M E000

 

 

 

OPEN ANOTHER

LOCATION

 

$E000 FE

56?

 

 

ATTEMPTED TO

CHANGE A

WRITE PROTECTED MEMORY

$

 

 

 

SWTBUG CONTROL RESUMED

 

REGISTER DUMP FUNCTION R

The R command will display the current contents of the MPU's pushdown stack. “Current” means the status of data stored on the stack immediately before SWTBUG® control is resumed. The following is a typical register dump:

$R

 

 

 

 

 

$FF

16

23

17EC

0103

A042

$

 

 

 

 

 

CONDITION

ACC

ACC

INDEX

PGM.

STACK

CODES

B

A

REG

CTR.

PTR

3

Image 4
Contents ROM Monitor Verson Users Guide Swtpc Swtbug Swatbug Monitor ROM Reset Swtbug InstallationSwtbug Operation Memory Examine and Change M addr Register Dump Function RBIT no Label Condition Code BITCT-1024 Clear Screen Command C Ascii Tape Punch Command PGO to USER’S Program Function G Jump to USER’S Program JaddrEND of Tape Command E Most Significant Byte of Lower AddressLeast Significant Byte of Lower Address Most Significant Byte of Upper AddressTape Loader Function L Optional Port Command O not zeroSoftware Breakpoints Baddr Disk Boot D Do not This is OKJump to Prom Program Z Byte Search F high address low address byteUsing NON-MASKABLE Interrupts Using Maskable IRQ InterruptsVectored Software Interrupts Vectored INPUT/OUTPUTUse of the Control Interface for Read/Punch-On/Off Decoding PIA StrobingBaud Rate Compatibility Loading Binary Tapes Thru SwtbugBlkjak Swtpc 6800 Black Jack Program Special Notes on Using AN Acia and Program ModificationsCO-RES Ver .0 and 1.01 Acia Modifications Memory Diagnostics General Rules for Program WritingProgram Description Temporary Storage LocationsSwtbug Subroutine and Text String Description ACC a ACC B Cksm IXR Unchanged Outhr E06BOutee LDA aStart LDX #TEXT JSR PDATA1 JMP Contrl Text FCC /HELLOFCB ENDContrl E0E3 Nmiv E1A7Search E1AE Goto E1D0Clear E2CC Break E2D9PNCHS9 E31E Pnchon E34D