- Code:
#start=thermometer.exe#
#make_bin#
name "thermo"
mov ax, cs
mov ds, ax
start:
in al, 125
cmp al, 60
jl low
cmp al, 80
jle ok
jg high
low:
mov al, 1
out 127, al
jmp ok
high:
mov al, 0
out 127, al
ok:
jmp start ; endless loop.
WELCOME !!
Please Register, ask for assignment solutions & post the solutions if you know any.
LETS START POSTING YOUR IDEAS AND THOUGHTS AND BUILD THE COMMUNITY OF EXPERTS.