Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .model small
- .stack 100h
- .data
- B_TAB db 1Ah,2Bh,3Ch,4Dh,5Eh,6Fh,7Ah,8Bh
- W_TAB dw 1A2Bh,3C4Dh,5E6Fh,7A8Bh
- B_TAB1 db 0Ah,8 dup(1)
- W_TAB1 dw 8 dup(1)
- W_TAB2 dw 11h,12h,13h,14h,15h,16h,17h,18h
- .code
- start:
- mov ax, @data
- mov ds, ax
- mov al, B_TAB
- lea bx, B_TAB
- mov al, [bx] + 2
- mov al, B_TAB[4]
- mov al, [bx][7]
- mov ax, 4c00h
- int 21h
- end start
Advertisement
Add Comment
Please, Sign In to add comment