| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | Newsletters | VB Forums | Developer.com |
|
|||||||
| Assembly Questions and Answers for Assembly here! |
![]() |
|
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
forgive me for the lo level, but what does this code is doing?
mov ax, 3
int 10 10x for the help
|
|
#2
|
||||
|
||||
|
Re: forgive me for the lo level, but what does this code is doing?
The mov ax, 3 moves 0 into the AH register, and 3 into AL.
The INT 10 calls the specified interrupt (0x10 in this case). INTerrupt 16 (0x10) is the video services interrupt. When this interrupt is called with AH=0 and AL=3 (as in your case), this changes the video mode to: 80 chars wide by 25 lines high, 16 color text (essentially color console text mode). Sorry for giving you it spelled out, but I wasn't sure what part you didn't understand. Hope this helps, - Nigel |
|
#3
|
|||
|
|||
|
Re: forgive me for the lo level, but what does this code is doing?
yeh, you really helped me, 10x
|
![]() |
| Bookmarks |
|
||||||
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|