April 26th, 2006, 06:08 PM
[Homework] - Assember Project Help Urgent!!!
ive an assembly project for tuesday and im a bit screwed.
the program has to count the average time between keystrokes and print the answer to the screen.
im only allowed use bios interuppts because its to be included in a TSR.
its not acceptable to just count the keystrokes and divide the time the TSR has been active by the total keystrokes.i have to add up the times between each keystroke.
any help at all would be appreciated!!
April 27th, 2006, 12:08 PM
We don't do homework.
you may want to use the INT, ADD, DIV, PUSH, POP and INC instructions. Apart from that, you'll have to do your own research.
And in future, you may want to look at specifiying what flavour of ASM it is. I've given you intel codes. You may also want to look at the difference between nasm and gas. something like
isn't going to work under both...