anyone know about dynamic arrays...?

[b][red]This message was edited by emperor at 2002-10-30 5:31:40[/red][/b][hr]
I haven't been here long, but I had a quick look around and couldn't find an answer (I'm not even sure if this is the best place to post). I'm not too hot with assembly language programing (read: I'm stupid) so a foolproof (and NASM-specific!) reply would be appreciated. Basically I wondered if it were possible in assembler to EASILY create a dynamic array.

For example I'm currently trying to write a program which parses the arguments passed to it in the command line and would like to store the address of each argument somewhere in the data segment so that they can easily be accessed individually, without knowing how many there are going to be (eg so that theoretically you could use ah=9 int 21h or something to print them out in reverse order, if you were so inclined)

before I get on to parsing [es:82h] I'd like to know if there's anywhere I can put them! thanks


«1

Comments

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories