Development System Familiarization in Development System Familiarization in MTS-88 Micro-Trainer System - 88MTS-88 Micro-Trainer System - 88
Prelim Lab Experiment 1
Engr. Ricrey E. Marquez, CpE, MSCS(Instructor)
CpE 194 – Microprocessor Systems
Development System Familiarization in MTS-88 Micro-Trainer System - 88
Objectives
To study the basic operation of the MTS-88 (Micro-Trainer System 88)
To know its basic parts of the MTS-88
To know the different functions of the support chips of the MTS-88
Development System Familiarization in MTS-88 Micro-Trainer System - 88
Basic Concepts
MTS – 88 (Micro-Trainer System – 88, the operation of the system is similar with the IBM PC’s DEBUG system. Its operation instructions are displayed when the device is switched ON or RESET.
The device also has a memory ability to preserve data for future use. There is a memory indicator on the display once the data being kept after reset. The system programs starts from 0000:0000 after RESET, in order to check the length of the RAM, there is a byte to inverted and returned to the original for every 4K in length, the verifying procedure will be repeated until none of the byte can be inverted. During this period, avoid using RESET to prevent the data from unable to return to the original setting. The RAM address is to be displayed by 4 positions and up to FFFFh, however 5 positions will be used if it exceeds FFFFh.
Development System Familiarization in MTS-88 Micro-Trainer System - 88
Some Useful keys Used to Move the Cursor Around
SHIFT + F5
SHIFT + F6
F5
Move one space to the right
Move one space to the left
Delete the character at the cursor
Erase the content
Leave a space at the cursor
Move the cursor to any empty space or next to “,” in the right-hand direction. It will return to the starting position if press this key twice
Move the cursor to any empty space or next to “,” in the left-hand direction.
F7Leave the command “WAIT” in order to execute a single step hardware
Development System Familiarization in MTS-88 Micro-Trainer System - 88
Model Number Memory/RAM Indicator
[MTS-88.C] ..7FFF
> A.D.F.G.I.M.P.T.U.
UNASSEMBLETRACEPRINTMOVEINTERRUPTGOFILLDISPLAYASSEMBLE
MTS-88 LCD Display Screen
Display Command and Instruction of MTS-88
Development System Familiarization in MTS-88 Micro-Trainer System - 88
Operating Commands of MTS-88
A – Assemble: This command is used to convert the input assembly language to the machine language in the memory. Once under this command, set first the address for the program to start
Syntax: A[segment address][offset address]
NOTE: [segment address] is optional and can be initialized to 0000 and [offset address] is 0400 for start address for programs
D – Display or Modify the RAM’s data. Display the contents (in HEX) of the specified address.
Syntax: D[segment address : offset address]
NOTE: [segment address] is optional and default will be 0000. Pressing the arrow down key display the next 8 byte of the contents
Development System Familiarization in MTS-88 Micro-Trainer System - 88
Operating Commands of MTS-88
F – Fill data into the RAM: Fills the memory with specified data within a specified address range.
Syntax: F[segment address : start address] [end address] [8-bit data]
NOTE: end address should be greater than or is equal to start address
G – Go. Proceeds of the executions of the encoded program and allows the user to specify the addresses at which program execute will stop.
Syntax: G[segment address : offset address]
NOTE: [segment address] and [offset address] are optional
Operating Commands of MTS-88
I – Interrupt: The system has three (3) built-in interrrupt which can be set for the program execution, the CPU will continuously make a single step subprograms for checking IP values. When the IP register has the same value as the INTERRUPT’s address, it will enter the INTERRUPT’s subprograms.
Syntax: I
M – Move. This command is used to transfer data in the memory from specified address to another address by specifying the start address, the ending address, and the desired address for transfer.
Syntax: M S - [segment address : target address]
T - [target end address : destination address]
Development System Familiarization in MTS-88 Micro-Trainer System - 88
Development System Familiarization in MTS-88 Micro-Trainer System - 88
Operating Commands of MTS-88
P– Print: Allows the printer to print the content of the memory when printer port is connected to the MTS-88.
Syntax: P
T – Trace. This command is used to program execution for a step by step process.
Syntax: T [number of steps] - STEP
NOTE: number of steps should be from 0-9 and no other keys
U – Unassemble. This command is used to decode the value of the group memory location mnemonics, and display on the LCD screen.
Syntax: U [start address] [end address]NOTE: end address is optional
Development System Familiarization in MTS-88 Micro-Trainer System - 88
Flowchart of G(Go) - Command
Start
Input the starting address
Follow the input of the user to set the flags
CS, DS, ES Registers have the starting address in the segment
base
Proceed to a new address for execution begins at 0000:0390 (user can set a segment in the
program)
End