Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > MSDOS Programmer > Re: Int questio...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 7 of 7 Topic 432 of 500
Post > Topic >>

Re: Int question

by "gerotica" <pgerotica@[EMAIL PROTECTED] > Dec 6, 2006 at 08:53 PM

Actually I=B4ll ask one more thing. I have another
situation at the program like this, and use the same idea. I have to
call int61 to save what=B4s in bl:

071A:00000D37 50                     PUSH    AX
071A:00000D38 51                     PUSH    CX
071A:00000D39 52                     PUSH    DX
071A:00000D3A 56                     PUSH    SI
071A:00000D3B 57                     PUSH    DI
071A:00000D3C 33 DB                  XOR     BX,BX
071A:00000D3E B9 F0 03               MOV     CX,03F0
071A:00000D41 BA 83 07               MOV     DX,0783
071A:00000D44 B3 03                  MOV     BL,03
071A:00000D46 E8 E7 00               CALL    (+00E7)
071A:00000D49 8A 1C                  MOV     BL,[SI]
071A:00000D4B E8 E2 00               CALL    (+00E2)
071A:00000D4E 02 FB                  ADD     BH,BL (Change this
to CD 61) <<<<<<<<<<<<<<
071A:00000D50 46                     INC     SI
071A:00000D51 E2 EE                  LOOP    (-12)
071A:00000D53 5F                     POP     DI
071A:00000D54 5E                     POP     SI
071A:00000D55 5A                     POP     DX
071A:00000D56 59                     POP     CX
071A:00000D57 58                     POP     AX
071A:00000D58 C3                     RET


Again, I=B4ll have to do that task add bh, bl before returning to the
main program. Question: When i get into isr 61h will bx be with the
same value as in the main program, so I can read bl, do the sum and
save bx again?=20


Tks again
 




 7 Posts in Topic:
Int question
"gerotica" <  2006-12-06 09:57:04 
Re: Int question
pklos@[EMAIL PROTECTED]   2006-12-06 18:38:42 
Re: Int question
Doors <doorsremove@[EM  2006-12-06 16:39:49 
Re: Int question
"gerotica" <  2006-12-06 19:18:19 
Re: Int question
"gerotica" <  2006-12-06 19:53:13 
Re: Int question
"gerotica" <  2006-12-06 20:41:46 
Re: Int question
"gerotica" <  2006-12-06 20:53:47 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Jul 25 3:00:20 CDT 2008.