Advertisement
Guest User

Untitled

a guest
Dec 10th, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. CLA
  2. MSG 'Control Corto Simuproc'
  3. MSG 'Menu principal: '
  4. MSG '1. Sumar'
  5. MSG '2. Dividir'
  6. MSG '3. Salir'
  7. LDT 'Ingrese opcion: '
  8. CMP F00
  9. JME 00C
  10. JEQ 018
  11. MSG 'Adios.'
  12. HLT
  13. CLA
  14. MSG 'Ingrese primer numero'
  15. IN AX,1
  16. STF 2A
  17. CLA
  18. MSG 'Ingrese segundo numero'
  19. IN AX,1
  20. ADDF 2A
  21. CLA
  22. MSG 'Resultado'
  23. OUT 1,AX
  24. JMP 002
  25. MSG 'Ingrese divisor'
  26. IN AX,1
  27. STF 2A
  28. MSG 'Ingrese dividendo'
  29. IN AX,1
  30. STF 2C
  31. LDF 2A
  32. DIVF 2C
  33. MSG 'Resultado'
  34. OUT 1,AX
  35. JMP 002
  36. #F00
  37. 10
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement