title Example 80X86 Assembly Program ; by Sergio A. Alvarez .model small .stack 200h .data numfingers = 5 fingersandtoes = 4*numfingers temperature dw ? mytemperature dw 72 .code main proc .startup mov ax,mytemperature mov bl,2 idiv bl mov temperature,ax .exit main endp end