39h

  • Uploaded by: Handaru Pudy Astowo
  • 0
  • 0
  • June 2020
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View 39h as PDF for free.

More details

  • Words: 133
  • Pages: 1
;========================= ;39H = ANGKA ;5AH = HURUF BESAR (A-Z) ;7AH = HURUF KECIL ;30H = KARAKTER ;======================== CODE_SEG SEGMENT ASSUME CS:CODE_SEG ORG 100H START: JMP MULAI TEXT_INPUT DB 13,10,'INPUT TOMBOL=$' TEXT_ANGKA DB 13,10,'INPUT=ANGKA$' TEXT_HURUF_KECIL DB 13,10,'INPUT=HURUF KECIL$' TEXT_HURUF_BESAR DB 13,10,'INPUT=HURUF BESAR$' TEXT_KARAKTER DB 13,10,'INPUT=KARAKTER$' MULAI: MOV AH,09H MOV DX,OFFSET TEXT_INPUT INT 21H MOV AH,01H INT 21H CMP AL,30H JB TAMPIL_KARAKTER CMP AL,39H JB TAMPIL_ANGKA CMP AL,41H JB TAMPIL_KARAKTER CMP AL,5AH JB TAMPIL_HURUF_BESAR CMP AL,61H JB TAMPIL_KARAKTER CMP AL,7AH JB TAMPIL_HURUF_KECIL MOV AH,09H MOV DX,OFFSET TEXT_KARAKTER INT 21H INT 20H TAMPIL_ANGKA: MOV AH,09H MOV DX,OFFSET TEXT_ANGKA INT 21H INT 20H TAMPIL_HURUF_BESAR: MOV AH,09H MOV DX,OFFSET TEXT_HURUF_BESAR INT 21H INT 20H TAMPIL_HURUF_KECIL: MOV AH,09H MOV DX,OFFSET TEXT_HURUF_KECIL INT 21H INT 20H TAMPIL_KARAKTER: MOV AH,09H MOV DX,OFFSET TEXT_KARAKTER INT 21H INT 20H CODE_SEG ENDS END START

Related Documents

39h
June 2020 16

More Documents from "Handaru Pudy Astowo"

12345
June 2020 17
Angka Dan Bukan Angka
June 2020 22
39h
June 2020 16
Perkembangan Sms
July 2020 17
Pertemuan Pertama
June 2020 23