Chapter 9 Writing Machine Language Instructions and Directive Statements

Usage example

Below is an example use of the notation directive.

 

 

notation.lst page 1

 

 

 

*** PanaX Series MN1030 Cross Assembler

***

Loc

Object

Line

Source

 

 

 

 

1

_DATA

section

CODE, PUBLIC, 4

 

 

2

 

notation

INTEL

00000000

FF

3

 

dc

11111111b

00000001

FF

4

 

dc

377q

00000002

FF

5

 

dc

377o

00000003

FF

6

 

dc

255d

00000004

FF

7

 

dc

0ffh

 

 

8

 

notation

CLANG

00000005

FF

9

 

dc

0b11111111

00000006

FF

10

 

dc

0377

00000007

FF

11

 

dc

255

00000008

FF

12

 

dc

0xff

 

 

13

 

notation

PANA

00000009

FF

14

 

dc

b’11111111’

0000000a

FF

15

 

dc

o’377’

0000000b

FF

16

 

dc

f’255’

0000000c

FF

17

 

dc

x’ff’

Writing Directive Statements 161

Page 173
Image 173
Panasonic MN1030 user manual Below is an example use of the notation directive, Notation