Re: mode after bare bones
Posted: Fri Mar 20, 2009 2:54 pm
mov si,answer
call print_string
answer db "Yes.",0Dh,0Ah,0
call print_string
answer db "Yes.",0Dh,0Ah,0
The Place to Start for Operating System Developers
http://f.osdev.org/
Couldn't you use something like this?Troy Martin wrote:/agree=completelySolar wrote:Just a gut feeling that we, as a community, are getting a bit too aggressive and negative.
It's possible we could "handle" the parameters in a clean and simple way, using just some kind of "if (param1 == param2);" that should count as usage without doing anything. If I'm wrong, it's because I have asmbrain.I wouldn't want to take out either the -Werror nor the parameters (as both are helpful), but I wouldn't want to bloat the tutorial with parameter-handling code...
Code: Select all
(void)param1;
(void)param2;