↧
Answer by phant0m for Why "or ah,ah"?
It sets/unsets the ZERO flag depending on whether ah is zero.Depending on the status of the flag, jnz reset_drive will jump: Only if ah is not zero. In other words, it waits for the device to become...
View ArticleWhy "or ah,ah"?
I'm slowly trying to get into osdev just to play around. This tutorial has a piece of assembly that waits for a drive to become ready:reset_drive: mov ah, 0 int 13h or ah, ah jnz reset_driveI get that...
View Article