Looping

  • 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 Looping as PDF for free.

More details

  • Words: 96
  • Pages: 1
;================== ;LOOPING ;================== CODE_SEG SEGMENT ASSUME CS:CODE_SEG ORG 100H START:MOV CX,10 LONCAT:MOV DL,'9' MOV AH,02H INT 21H LOOP LONCAT INT 20H CODE_SEG ENDS END START ;=================== ;LOOPING2 ;=================== CODE_SEG SEGMENT ASSUME CS:CODE_SEG ORG 100H START: JMP MULAI TEXT_INPUT DB 'JUMLAH LOOPING=$' TEXT_NAMA DB 13,10,'NDARU$' TEXT_NOULANG DB 13,10,'TIDAK ULANG$' MULAI: MOV AH,09H MOV DX,OFFSET TEXT_INPUT INT 21H MOV AH,01H INT 21H MOV CH,0 MOV CL,AL SUB CL,30H CMP CL,0 JZ LONCAT ULANG: MOV AH,09H MOV DX,OFFSET TEXT_NAMA INT 21H LOOP ULANG INT 20H LONCAT: MOV DX,OFFSET TEXT_NOULANG MOV AH,09H INT 21H INT 20H CODE_SEG ENDS END START

Related Documents

Looping
June 2020 16
Looping
May 2020 13
Java Looping
June 2020 10
Php Looping Mechanism
December 2019 9

More Documents from ""

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