Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

More Assembley



On Mon, 31 Jan 2000, Anthony J. Gabrielson wrote:
>	I have copied a nice small program out of my assembly book that
>won't compile.  I was wondering if somebody might know why?

You have to read the NASM docs. You can't just copy a source
written for, say, MASM, and expect it to work for NASM.
(immediately I see for example: NASM doesn't support memory
models (sec. 2.2.5 of docs, e.g.), .DATA should be SECTION .data,
INCLUDE should be %include...) That's why you're getting "instruction
expected", because you're not using instructions that it's expecting.
Also, this looks like a .com program, which I don't think will
work on Linux.

-
Subcription/unsubscription/info requests: send e-mail with
"subscribe", "unsubscribe", or "info" on the first line of the
message body to discuss-request at blu.org (Subject line is ignored).




BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org