assume cs:codesg , ds:datasg

datasg segment
db 'welcome to masm!'
datasg ends

codesg segment
start:
mov bx , 0
mov cx , 16
mov si , 0
mov bp , 0744h

mov ax , datasg
mov es , ax
mov ax , 0b800h
mov ds , ax
s1:
mov al , es:[bx]
mov ah , 02h
mov ds:[bp+si] , ax


mov al ,es:[bx]
mov ah , 36
mov ds:[bp+si+00a0h] , ax

mov al ,es:[bx]
mov ah , 113
mov ds:[bp+si+0140h] , ax

inc bx
add si , 2
loop s1

mov ax , 4c00h
int 21h

codesg ends

end start



相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-04
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-22
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-09-23
  • 2021-10-03
  • 2022-02-04
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案