i have started to write a program that asks the user to enter a number to change the colour of the text and then again for the background.
however i am stuck on how to use C with ASM.
here is the code i have so far.
sorry if this is in the wrong section
printf ("Please enter a number");
scanf ("%d", number);
mov bh,0 //sets where the writing is. bigger the number the more it shifts accross the screen.
mov bl,4eh//first number is background colour, second is text colour
mov al,' '
printf ("Hello this is the new text colour");
can anyone help?