asm program help

Discussion in 'Programmer's Corner' started by ecjohnny, Mar 24, 2012.

  1. ecjohnny

    Thread Starter Senior Member

    Jul 16, 2005
    142
    0
    mov ax,1000H
    mov ds,ax
    mov ax,4000H
    mov ss,ax
    mov sp,0050H
    mov ax,0000H
    mov es,ax
    mov ax,1000H
    mov [es:180H],ax
    mov ax,2000H
    mov [es:182H],ax
    STI
    here : jmp here

    Can anyone tell me what the 2 line is doing? it is a program to setup interrupt
    what is that 180H 182H comes from?
     
  2. nigelwright7557

    Senior Member

    May 10, 2008
    487
    71
    Line 2 is moving 1000H to the data segment register.
     
Loading...