beautypg.com

Compatibility issues – Zilog Z8F0130 User Manual

Page 361

background image

UM013037-1212

Compatibility Issues

Zilog Developer Studio II – Z8 Encore!

User Manual

337

Compatibility Issues

Compatibility between Z8 Encore! assembler directives and those of other assemblers
supported by the Z8 Encore! assembler are listed in

Appendix E. Compatibility Issues

on

page 523. If you are developing new code for the Z8 Encore!, Zilog recommends that you
use the Z8 Encore! directives described previously in this chapter because the behavior of
these directives is thoroughly validated with each release of the Z8 Encore! assembler.

<decfloat>

=>

<float_frac>|<float_power>

<float_frac>

=>

<float_const>[<exp_part>]

<frac_const>

=>

digit|'_') . (digit|'_')@

<exp_part>

=>

E

['+'|-]digit+

<float_power>

=>

digit(digit|'_')@<exp_part>

<label>

=>

<ident>

<string_const>

=>

"('\"'|any)@"

<ident>

=>

(letter|'_')(letter|'_'|digit|'.')@

<ident_list>

=>

<ident>(,<ident>)@

<macro_def>

=>

<ident>MACRO[<arg>(<arg>)]
<code_body>

ENDMAC

[RO]<macname>

<macro_invoc>

=>

<macname>[<arg>](,<arg>)]

<arg>

=>

macro argument

<public_definition>

=>

PUBLIC

<ident list>

EXTERN

<ident list>

<scalar_definition>

=>

<type>[<value>]

<segment_definition> =>

DEFINE

<ident>[<space_clause>]

[<align_clause>][<org_clause>]

<space_clause>

=>

,SPACE=

<space>

<align_clause>

=>

,ALIGN=

<int_const>

<org_clause>

=>

,ORG=

<int_const>

<mayinit_clause>

=>

,MAYINIT

<space>

=>

(RDATA|EDATA|ROM|PRAM)