NASM - The Netwide Assembler

NASM Forum => Programming with NASM => Topic started by: nobody on January 26, 2009, 07:45:17 AM

Title: anwer me
Post by: nobody on January 26, 2009, 07:45:17 AM
Run and analyze the following program and tell what will be the out put of this program ?                                                                              

[org 0x0100]
              mov  ax, 0x000D
              int  0x10
              mov  ax, 0x0C07
              xor  bx, bx
              mov  cx, 160
              mov  dx, 100
l1:          int  0x10
              loop   l1
              mov  ah, 0
              int  0x16
              mov  ax, 0x0003
              int  0x10
              mov  ax, 0x4c00
              int  0x21
Title: Re: anwer me
Post by: nobody on January 26, 2009, 10:14:21 AM
Prints to the screen, "cannot execute binary file".

What's it do on your system?

The actual answer to your question is "Ralf Brown's Interrupt List".

Best,
Frank