Announcement

Collapse
No announcement yet.

Registers and such

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Amos Vryhof
    Guest replied
    That should be enough information to keep me busy for awhile...

    Thanks Lance



    ------------------
    Amos
    mailto:[email protected][email protected]</A>

    Leave a comment:


  • Lance Edmonds
    replied
    You read them byte by byte, starting at the address specified, in say DS:SI, and continue reading until you encounter a CHR$(0).

    Or are you looking for ASM/BASIC code to do this? If so, then using BASIC code is probably the easiest, unless you just want a pure ASM equivalent:
    Code:
    DIM x AS ASCIIZ PTR
    x = VARPTR32(var) ' or assign the address of asciiz string data
    PRINT @x
    ------------------
    Lance
    PowerBASIC Support
    mailto:[email protected][email protected]</A>

    Leave a comment:


  • Amos Vryhof
    Guest started a topic Registers and such

    Registers and such

    Well, with all of the info I learned in the other topic, I got a
    good document on x86 registers, indexes, pointers and such.

    I will need to know more, so please bear with me...I am new to
    playing with this stuff.

    If you don't feel like answering these questions, feel free to
    ignore me, or point me to a good reference.

    (I plan to get my DOS programming books back soon)

    How do I retreive ASCIIZ strings?

    ie: DS:SI -> 64-byte buffer for ASCIZ pathname



    ------------------
    Amos
    mailto:[email protected][email protected]</A>
Working...
X