循环彩灯 微机原理实验
code segment assume cs:code start: cli ;;关中断 mov dx,210h mov al,13h ;ICW1(ICW1偶地址有效,ICW2,ICW3,ICW4奇地址 mov dx,211h mov al,00H ;设置ICW2中断类型0(前五位表示中断类型码,后三位表示选择中断的引脚) out dx,al mov al,3h out dx,al ;icw4初始化,自动结束,8086
code segment assume cs:code start: cli ;;关中断 mov dx,210h mov al,13h ;ICW1(ICW1偶地址有效,ICW2,ICW3,ICW4奇地址 mov dx,211h mov al,00H ;设置ICW2中断类型0(前五位表示中断类型码,后三位表示选择中断的引脚) out dx,al mov al,3h out dx,al ;icw4初始化,自动结束,8086