jmp @inicio ; definicao de variaveis numero1 db 10 numero2 db 5 numero3 dw 15 resultado db ? inicio: NOP MOV al, [numero1] MOV ax, [numero3] ADD ax, 5 MUL [numero2] SUB ax, 2 DIV [numero2] NEG ax INC ax CMP ax, 0 jz @ZERO DEC ax IDIV [numero2] IMUL [numero2] NOT ax XOR ax, 1 OR ax, [numero1] SHL ax, 1 AND ax, 1b TEST ax, 1 LXOR ax, 0 LOR ax, 0 cmp ax, 0 je @beta JMP @alpha JA @inicio JAE @inicio JB @inicio JE @inicio JNE @inicio JBE @inicio JS @inicio JGE @inicio JLE @inicio JG @inicio JL @inicio JC @inicio JO @inicio beta: SHR ax, 1 CALL @fim alpha: ZERO: fim: HLT