Machine Language Instruction Statements And Directive Statements - Panasonic PanaXSeries MN1030 Series User Manual

Panasonic microcomputer user's manual
Table of Contents

Advertisement

7.3
Machine Language Instruction Statements
and Directive Statements
Machine language instruction statements
Machine language instructions are instructions that the microprocessor directly executes on its own
hardware. Each machine language code has a corresponding mnemonic.
Machine language instruction statements are statements that code these mnemonics. The assembler
will convert them into machine language code (called object code). After the program has been
converted to ROM, these statements will be executed by the microprocessor.
The instructions have the following features.
Memory-oriented instruction set (all calculations performed throughout memory)
Single and double-operand instructions
Minimized instruction set and instruction codes
Six addressing formats
The example below shows machine language instruction statements.
mov
mov
mov
add
rts
Directive statements
Directive statements are not converted to machine language code. Within programs they specify assem-
bler attributes to modify program structure and addresses, select radices, define constants, and control
list file style.
The example below shows directive statements.
CONST
_TEXT
MESG
0xff, D0
data1,
A0
D0,
(A0)
1, D0
global
save
equ
0x12
section
CODE, PUBLIC, 1
org
100
dc
'S'
end

Machine Language Instruction Statements and Directive Statements 121

Chapter 7 Type of Source Statements

Advertisement

Table of Contents
loading

Table of Contents