Now, with gcc -S I have converteprogram to asm-source. I'll post
here a piece of it because to me it looks a little-bit strange and I don't
understand what "leal -4(%ebp),%eax" exactly do.
So, maybe some-one can help me to understand this piece of code?
I don't understand the code you've posted either, but the following will get
the time of day:
mov ah,2 ;get time--ch = hours, cl = mins
int 1ah ;dh = seconds
--- Maximus/2 3.01
---------------
* Origin: Madman BBS * Chico, California * 530-893-8079 * (1:119/88)
|