Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using Debug For Qb 'JMP,JNZ,JA...'

Status
Not open for further replies.

fancom

Programmer
Feb 7, 2001
46
0
0
TR
Hi there. Don't ask me why, I am using debug to create some asm codes for qb4.5. But when I code an example it works fine. But when I try to make my own loops or jumps and translate it to the basic it gives an ms dos sub system error. I realized that, adding any conditional/unconditional jumps makes the code crash. So, I went on realized that if you want to jump TO 122 from 100, you don't type : JMP 122, you must use relative adres to jump. Using 'JA FAR CX' doesn't crash, but at last I gave up. Please Somebody tell me, how to correct jump ?

PS: Qb combination Of Code is clearly perfect, The problem is at 'JMP' I am sure.

PS: when I Type The Command 'T' In debug (TRACE), Same error appers, 'MS DOS SUBSYTSEM ERROR: CS:XXXX IP:XXXX e.t.c.'

I am Using a Win Xp Home Edition
I have a P IV 3.06 CPU with HyperThreading Enabled
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top