Anda di halaman 1dari 4

######

������������������������������������������������
����������������ͻ
� �
� ���� � d v a n c e d �
� � � �
� ���� � ���� � o n t r o l l e r �
� � � � �� �
� �� �� � ������ i m u l a t o r �
� � � �
� M i c r o ������� ����� �

� � ���� �
� H i g h - S p e e d ������� � �
� ���� � � (TM) �
� � � � �
� ������� � �
� � �
� �� �
� �

������������������������������������������������
����������������ͼ

�����������������������������������������������Ŀ
� Version 1.02 by Intelligent Designer Tools �
� �
� Moscow, 1989. Tel. 264-21-31 �

������������������������������������������������

<Alt-H> - help
����� Breakpoint Menu ������������������������ HELP
information �������������Ŀ
�BRN. PC Counter Occur. �You may use up to 8 breakpoints at the same time. �
� 1 �For every breakpoint PC specifies the address, �
� 2 �where condition 'Counter=Occur' is checked. Occur �
� 3 �means how many times program passed through the �
� 4 �address, specified by PC. For example, if PC=0200,�
� 5 �Counter=010, program will stop when it meet addr. �
� 6 �0200 ten times. (Counter and Occur are decimal.) �
� 7 � You may save breakpoints in file - up to 10 sets �
� 8 �of breakpoints (F2) and restore them (F3). �
������������������������������������������������
��������������������������������
1 Load 2 Save 3 Clear 4 5 ExitBr6 7 8 9 0

FD-51 COMMAND SUMMARY

L [<memtype><strt addr>,] <filespec>[/A]


Load binary or HEX file into memory.
<Memtype> may be I, E or P. According to this parameter, file is loaded into
Internal, External or Program memory from the start address specified by
<strt addr>. <Memtype> and <strt addr> must not be present if file has HEX for-
mat. Example:^ L I 01F,A:\PGM\T1 ~- load file into Internal memory from addr. 01F.
To load a file made by ISIS-II Macro-Assembler, use /A switch only.
S <memtype><strt addr>-<end addr>,<filespec>
Save memory area in a binary
file. The area from Internal, External or Program memory is saved in a specified
file, starting at <strt addr> and endind at <end addr>. The file may be loaded
into memory by the L command. Example:^ S P 20-642,MYFILE ~

PRT <memtype><strt addr>-<end addr>[,<filespec>]


Print a memory dump in hex
format. If no <filespec> is specified, dump is directed to PRN device.

PRTD <strt addr>,<number of instructions>[,<filespec>]


Print disassembled code
beginning at <strt addr>. Default output to PRN.

R <reg number>=<value>
Set register of currently selected bank. <Value> must
be one byte long. Ex.:^ R4=FF ~

<Reg name>=<value>
Set special function register. You may use following reg
names: A,B,TH0,TH1,TL0,TL1,DPH,DPL,DPTR,SP,IP,IE,TMOD,TCON,SCON,SBUF,PC. <Value>
for DPTR and PC may be two bytes long. Example: ^SP=20 DPTR=FF00 ~

<flag name>=<value>
Set or clear flags in PSW. <Flag name>s are: C,AC,F0,S1,
S0,OV,P. If <value> is 0, flag is cleared, otherwise flag becomes 1. Ex.:^ S1=0 ~

PO <port number>=<value>
Set port. <Port number> may be 0-3. Ex.:^ PO2=12 ~

D <addr>
Display disassembled text in the window from <addr>. Ex.:^ D 0240 ~

<Memtype><addr>[-<end addr>]=<value>
Set memory. If <end addr> is specified,
the area from <addr> to <end addr> is set to <value>. Ex.:^ I 22=55 P 0-40=FF ~

<Memtype><addr>.<bit number>=<value>
Set or clear single bit in memory.
<Bit number> may be 7-0 (higher bit is 7). Ex.:^ I 20.6=1 ~

<Reg name>.<bit number>=<value>


Set or clear single bit of special finction
register (A,B,PO0-PO3,IP,IE,TMOD,TCON,SCON). Ex.:^ TMOD.3=0 ~

M <memtype><strt addr>
Display memory in the window from the <strt addr>.

G [<strt addr>[,<stop addr>]]


Execute program from <strt addr> to <stop addr>.
If no <strt addr> is specified, executing begins from the current instruction.
You may not specify <stop addr> when using breakpoints. Executing may be stopped
by pressing any key. G without parameters may be entered by <Alt-F10>. Only
<stop addr> may be specified, but comma must be present. Ex.:^ G 100-FF0 ~

T ON [,filespec]
Trace on. Default output to PRN.

T OFF
Trace off.

INT <0/1>=<value>
Imitate high or low level on INT0 and INT1. Ex.:^ INT1=0 ~

BA=<addr>
Set new base address for disassembled text. This command is used
when disassembler 'doesn't know' where the beginning of the program during dis-
assembling backward.

RSTC
Reset time counter.

QUIT
Exit to DOS.

RST
Imitates processor reset.

N
Debug returns to the beginning of session.

Fullscreen editing.

Press [Enter] to begin fullscreen editing. Now you may move cursor by cursor
control keys and change contents of memory and registers directly from keyboard.
When information is presented in decimal or binary format, fullscreen editing is
also available. You may also change the start address of disassembled text and
start addresses of Int/Ext and Pgm memory (that are in the first window lines).
To return to the command line press [Enter] again. Use [Tab] and [Shift-Tab]
keys to move cursor quickly over lines.

NOTE: All addresses and values must be hex.

Assembler Mode.

To write programs in assembly language mnemonics, enter fullscreen editing and


place cursor into the current (highlighted) instruction. Type in the mnemonic
and strike [Enter]. If mnemonic is correct, it will appear in the line above and
window will scroll to the next address. You may scroll window using [Up] and
[Down] keys without pressing [Enter]. All function key commands are available
in Assembler Mode. To exit assembling, press Q or simply leave the current inst-
ruction field.

Function keys menu.

^F1~ - execute current instructCon of loaded program.


^F2~ - execute program until the address of the next instr. after current
is reached. Useful to execute a subroutine or loop as one instruction.
^F3~ - presents information of registers in decimal or binary form.
^F4~ - toggles between INT and EXT memory in window.
^F5~ - brings you to Breakpoint menu.
^F6~ - toggles between hex and binary presentation of memory contents in window.
^F7~ - scrolls Int/Ext memory window one line up.
^F8~ - scrolls Int/Ext memory window one line down.
^F9~ - scrolls Pgm memory window one line up.
^F10~- scrolls Pgm memory window one line down.
Use [Home], [End], [PgUp] and [PgDn] keys to scroll windows by pages.

Sometimes when your computer video adapter is not CGA or EGA, FD51 does not
operate correctly. Then try restarting FD51 using S parameter:

A:\fd51 S

Anda mungkin juga menyukai