Home » Archives » August 2010
Produce a Short Beep Sound
August 13, 2010You can use a loop to create a succession of beep sounds. The complete code to produce a single beep sound is right below.
org 100h
mov ah, 02
mov dl, 07h ;07h is the value to produce the beep tone
int 21h ;produce the sound
int 20h
ret
Letters Only
August 11, 2010The code is able to delete the character if it’s not a letter (a-z, A-Z). Its limitation: INPUT IS NOT BEING SAVED IN A BUFFER SO INPUT STRING IS NOT REUSABLE. I’m still figuring out how to do it.
If num1>num2 show product else show sum
*****FROM JHAY*******
can you give the code of this
if first number is greater than second number display product
and if second number is greater than first number display sum
example:
Enter a first number: 4
Enter a second number:2
product : 8
***********************
SCREENSHOTS
More Examples on EMU8086
August 8, 2010When using the Emu8086, you can find lots of sample codes within the program like addition and subtraction, the scroll thing, the LED simulation, robot simulation, traffic lights simulation and many more. Just in case you can’t find there what you need, just let met know and I will try to do my best.


