1c4 ;void fm_write(unsigned char reg,unsigned char data) DOSSEG .MODEL SMALL .STACK .DATA .CODE PUBLIC _fm_write _fm_write PROC push bp mov bp,sp push ax push dx mov dx,388h mov al,byte ptr[bp+4] out dx,al del: in al,dx cmp al,0 jnz del inc dx mov al,byte ptr[bp+6] out dx,al dec dx del2: in al,dx cmp al,0 jnz del2 pop dx pop ax pop bp ret _fm_write ENDP END . 0