Author Topic: Start in NASM  (Read 6911 times)

nobody

  • Guest
Start in NASM
« on: December 29, 2008, 11:36:40 AM »
I need programm on NASM. This programm must  program, read two variables and print on screen

nobody

  • Guest
Re: Start in NASM
« Reply #1 on: December 29, 2008, 12:46:08 PM »
need programm on NASM. This programm must , read two variables and prints it on screen.

Offline Frank Kotler

  • NASM Developer
  • Hero Member
  • *****
  • Posts: 2667
  • Country: us
Re: Start in NASM
« Reply #2 on: December 30, 2008, 12:44:15 AM »
What "type" of variables? Characters are easy - well, the only thing we *can* print. Integers require some processing. Floats require a *lot* of processing!

From whence do you need to read these variables? Keyboard/stdin? A file? Command line? Other?

What OS is this supposed to run on? Makes a big difference how we read/write this stuff! (any "processing" we need is probably OS-independent)

This appears to be homework. We're probably not going to do your homework for you. We *will* help. (helping someone learn asm, and helping someone *avoid* learning asm are two different things!). But we need to know "where you're at" right now. What parts *can* you do? What "chapter" are you on? (almost the end of the term, innit?) What "resources" do you have available in the way of macros/libraries?

Show us what you've got so far. Writing the comments first may help!!! Probably do *one* variable first... That should tell us what OS, and maybe where you expect to "read" this variable from... maybe even what "type" you're expecting. We really need more information before we can begin to help...

Best,
Frank