How to use Record

Help!

I want to know how to use Record in assembly language.

How to define and use?

Please help if you know.


Comments

  • : Help!

    : I want to know how to use Record in assembly language.

    : How to define and use?

    : Please help if you know.


    Record's just an artificial record type:


    For example, to duplicate the following:


    MyInfo = Record

    ID:Word;

    Pay,Age:Byte;

    end;


    Just use:


    MyInfo.ID DW ?

    Myinfo.Pay DB ?

    MyInfo.Age DB ?


    ...and refer to those data areas as you would any other variable.


    I.E:


    Mov AX, MyInfo.ID





    URL:http://acheronx.resnet.tamu.edu/home/

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