Howdy, Stranger!

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

Categories

Registers

mstechcamstechca Member Posts: 64
I want to know how to retrieve all the values contained in every CPU register using Qbasic 1.1.

Now if this isnt the most advanced question, I dont know what is!

Comments

  • PrzemekG_PrzemekG_ Member Posts: 595
    : I want to know how to retrieve all the values contained in every CPU register using Qbasic 1.1.
    :
    : Now if this isnt the most advanced question, I dont know what is!
    :

    There are two ways of doing it. Anyway ax bx cx an dx are not important.
    You can write some ASM code or call InterruptX (for example int 33h, it does not modify segment and flag registers) which will return all registers.
  • mstechcamstechca Member Posts: 64
    : There are two ways of doing it. Anyway ax bx cx an dx are not important.
    : You can write some ASM code or call InterruptX (for example int 33h, it does not modify segment and flag registers) which will return all registers.
    :

    I forgot to mention that I dont want to call an interrupt function.
    I just want the current register values.

    Do you have the asm code I can import into Qbasic?
    If so, can you include the asm commands (like mov, etc)?
    email: mstechcae@webcity.ca

Sign In or Register to comment.