Chapter 16 Notes on the Operating Environment

5

move

0x11, D0

MAIN.ASM(5):Error 2304: Instruction not found.

7main

MAIN.ASM(7):Error 2306: Multiple define symbol.

Errors: 2 Warnings: 0 (MAIN.ASM)

The following explanation is for the programmer’s editor MIFES. Start up MIFES and open two files.

MI MAIN.ASM ERROR

The contents of the file ERROR will be displayed on the screen.

5move 0x11, D0

MAIN.ASM(5):Error 2304: Instruction not found.

7main

MAIN.ASM(7):Error 2306: Multiple define symbol.

Errors: 2 Warnings: 0 (MAIN.ASM)

Tag jumps

The first error message matches this display on the screen.

MAIN.ASM(5): Error 2304: Instruction not found.

This line works with tag jumps regardless of the character position on screen.

Look at the display of function key F10 on the CRT screen. It should be [Tag JP]. This key specifies a tag jump, so try pressing F10. The screen will switch, and the cursor will be placed at the source file statement in which the error was detected

.

_CODE

section

CODE, PUBLIC, 1

data

equ

-1

main

 

 

 

mov

0x11, D0

 

move

0x11, D0

 

mov

D0, (data)

main

 

 

 

end

 

Fix errors

The cursor will be located on the fifth line. Fix the error here.

Change move to mov. That alone fixes the line. Switch the screen again to the error file.

Personal Computer Versions 307

Page 319
Image 319
Panasonic MN1030 user manual Tag jumps, Fix errors, Contents of the file Error will be displayed on the screen