Strings and Arrays on Assembler
Posted on 2001-06-08
Hi there, well, i'm programming a little (and very basic) Pascal-to-Assembler compiler on Pascal (Delphi), but i'm kinda lost about string and 2-Dimensional array management...
what i need is to know how to 'translate':
-simple string operations like:
-simple 2D array operations like:
to Assembler Code.
i'm done now with lexic, sintactic, and semantic part of the compiler, and can manage 'for','while','repeat', and basic integer, real, and byte operations, but still lost with strings and arrays. (well, read(string) and write(string) is working too.)
step-by-step instructions are welcome since i'm not an assembler expert, and reffering to simple tutorials too.
Thanx in Advance...