Assembler
ZXNet echo conference «code.zx»
From Alexander Ageev → To Dmitry Lomov 28 February 1999
Hello Dmitry!
Thursday February 25 1999 01:58, Dmitry Lomov wrote to Alexander Ageev:
AA>> So the proposal is elementary - the documentation is taken from tasm,
AA>> and all the features look there ;)
DL> damn. and I asked for specifics :)
DL> tell me again - go to the Internet, download something...
;)
Okay:
1. The ability to use normal arithmetic in calculating expressions
(operation priorities, + - * / % & | ^ >> << && || ^^ ( )
It is advisable to implement all of the above operations
2. Local label mechanism
A label starting with @@ (for example @@loop) is considered local.
When any global label appears, all local labels are removed.
(for a global label, the first 2 characters are not @@)
On the Spectrum, instead of local labels, usually or global ones are used
(but this pollutes the label table) or $+xxx (but this can be inconvenient)
3. REPT 3
ADD a,l
ENDM
equivalent
ADD a,l
ADD a,l
ADD a,l
now an example with rept and an internal variable
IntVal = 0
REPT 3
DW IntVal
IntVal = IntVal + 1
ENDM
equivalent
DW 0
DW 1
DW 2
4. Unlimited nesting of include
5. Macros
6. Ability to export/import source texts from/to ASCII
7. Long marks
In general, there are a lot of features, I’m already tired of listing them ;)Dimka, there are a lot of wretched assemblers on the Spectrum, and the next one is already
you won't surprise anyone. But a normal assembler, in which there would be
features widely used on PC/OMIG, there are none!
Let's chat sometime ;)
DL> I won’t watch the docks, they make me sad :(
DL> please, bother to say - you saw both ours and there ;-)
DL> write everything down for me, the poor one :)
Dim, I'll have to write so much... ;) Almost on the Spectrum
there is nothing but include ... ;( Well, there are also 2.3 features ... ;(
Stinger.