background image

AP'ENCIX A

ASCU

coce

CHART

, •

.ASCII:

Amwican

Standard' CQd.

for

IntorrnaUQft

IntlrChlng&

Standard

No. X3.4-1968

of

tne

Ame,;CItI

Naticnai Standardllnfti1utao

II,.

'\ 0

"0:

,0.

10

1

I

1"

I

1

I

1

I

,

Bits

II,

'I

0

I

0

1 I

1

o

!

0

:

1

I

1

I

I

Its

,~

0

1

o

I

1

!

01

1

I

01

1

t"i3~~,

•••

0

I

1

I

2

;

3

I

4

I

5

6

7

+.ew+

!

i

I

i

t

,

0000

0

NULi DLE:

I

SP

I

0

i

@)

I

P

I

,

.

!

t

i

J

000.1

1

SOH! Del

1

,

1

I

A

I

Q

j'-

CI

~. CI

0010

2~

STX I CC2.!

.1

2.

B

R.

,

I

i

"

r

t

,

.

--

00

l' 1

3

ETX; Da'

#

3

,

c:

I

S',

I

i

,

e

$

,

.

o

1:O~O

4

EOT· DC4~

$

D:

I

T

cI, '

t

I

I

0, l'

a

1

S

ENQ.

NAKl

%.

5

E

U. I

II

I

o. r

lO

6,

ACK SYN

&"

6.

F

V

I

f

y

0:

t

l' 1

T

BEL.

ETB:

i

I

T

I

.'

t

I

I

---

t

000.

a

BS ,CANI

("

a

x

I

h

x

lOa

1"

9

HT;

EM

)

9

I

y'

r

I

y

1: 0

l' 0:

A.

LF

StJ8~

*

J:

Z

1

z:

..

10:1"-1"·

B

VT'ESC:

+-

.'

K.

t:

Ie

I

{

I

I'

T 0'0

C

FF

FS

<

L

I

\

I

I

I

I

I

I

I

-

1".10 1

D.

CR·

GS

i

-

M

]

I

}

I

I

t.

l

1'0

E

so :

IS

I

>-

I

N

-

••

i

""""

••

:

.,

I

I

1

t t

1:

F

I us I

/

"

I

I

.'IDEL.

51,

!-

..

'

AU

cnancmn

i"

me.

two

columns ana SP

ISgac:.)

are

no~nung.

Содержание CP/M 2 ZSM Assembler

Страница 1: ...cit m 2 m 4 miLt I USERS MAN UAL...

Страница 2: ......

Страница 3: ...ZStt ASSEMBLER FOR CP M Version 2 5 USER S MANUAL Revision A February HJ 1980 CP M is a registerd trademark of Digital Research...

Страница 4: ...changes except when an agreement to the contrary exists Revisions The date and reV1Slon of each page herein appears at the bottom of each page The revision letter such as A or B changes if the MANUAL...

Страница 5: ...ystem the CP M operating system and the z sa instruction set This manual will describe the operation of the ZSM Assembler for CP M including all pseudo operations and syntax It assumes the user knows...

Страница 6: ......

Страница 7: ...1 1 1 2 2 1 2 2 2 3 2 4 2 5 2 6 2 7 Calling ZSM from CCP 2 1 I anguage eleInents 2 2 Constants 2 3 O rators 2 4 Registers 2 5 Pseudo ops 2 6 Assembly errors 2 11...

Страница 8: ......

Страница 9: ...8M the CP M Z8Mdoes not have either the ENDor TABpseudo operations and it has several new pseudo operations such as TITLE RADIX and MARGIN If you are not familiar with the S3S0 superset style of mnemo...

Страница 10: ...een an operand and a following comment That is is now a valid end of operand character 5 Type M errors no longer destroy the value of the last preceeding entry in the Symbo 1 Table 6 Overlappin hex co...

Страница 11: ...hen calling ZSM Whenever ZSM puts an assembler listing file onto disk this file is always of the form filename PRN again where the filename is the same name used when calling ZSM For example if you as...

Страница 12: ...not required Each element except for the comment must be separated from the preceding one by at least one space character or a tab character Tab characters cause the elements to print on columns vhic...

Страница 13: ...comment ASCII constants are indicated by enclosing the appropriate character in single quotes Any ASCII character can appear between the quotes except for 1 control Characters having an ASCII code of...

Страница 14: ...ers are truncated to 16 bits All logical operators perform their function on a bit by bit basis and they also treat their operands as 16 bit values Operators combine with constants to form expressions...

Страница 15: ...Ptr SP Index reg X IX Index reg Y IY Also may be called DE for register pair instructions Also may be called HL for register pair instructions Although not supported by ZSM also called HL Program Stat...

Страница 16: ...ether and assembled as one file The LINKoperand is a source file name enclosed in single quotes Linking to a file is like a subroutine that is when the linked to file is exhausted assembly of the orig...

Страница 17: ...to the prompt then TESTwould have a value of 56 hex he PRTpseudo op allows infonnation to be displayed on the console during pass 2 If operands are present they are displayed otherwise just a carriage...

Страница 18: ...melOOry locations Either numeric or ASCII operands may be present but either one must evaluate to only 8 bi ts This means that only one ASCI I character may be included per operand For example z is a...

Страница 19: ...C6 hex The DTZpseudo op is like DTalso only it causes a byte of to be appended to the text string Thus the example uld be 41 42 43 44 45 46 13 The DS pseudo op causes the assembler to skip over the nu...

Страница 20: ...ply to all numbers in the text because it is read by the assembler in the first pass Only use it once within the text If you do not use the RADIX pseudo op ZSM defaults to a radix of 10 For example to...

Страница 21: ...label you will get a J error instead of a U error Although perhaps the U would be more appropriate the way the errors are handled gives J priority r r abel error characters M Missing label error This...

Страница 22: ......

Страница 23: ...i J 000 1 1 SOH Del 1 1 I A I Q j CI CI 0010 2 STX I CC2 1 2 B R I I i r t 00 l 1 3 ETX Da 3 c I S I i e o 1 O O 4 EOT DC4 4 D I T cI t I I 0 l a 1 S ENQ NAKl 5 E U I II I o r lO 6 ACK SYN 6 F V I f y...

Страница 24: ......

Отзывы: