TEXT 23
[COAL] Multiplication Guest on 4th December 2020 01:36:24 PM
  1. .model small
  2. .stack 100h
  3. .data
  4. .code
  5. main proc
  6.     mov al,5
  7.     mov bl,3
  8.     mul bl
  9.     ; 3 * 2
  10.     aam
  11.     mov ch,ah
  12.     mov cl,al
  13.    
  14.     mov dl,ch
  15.     add dl,48
  16.     mov ah,2
  17.     int 21h  
  18.    
  19.         mov dl,cl
  20.     add dl,48
  21.     mov ah,2
  22.     int 21h
  23.  
  24.    
  25.     mov ah,4ch
  26.     int 21h
  27.      
  28.     main endp
  29. end main

Coding Base is for source code and general debugging text.

Login or Register to edit, delete and keep track of your pastes and more.

Raw Paste

Login or Register to edit or fork this paste. It's free.