Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/assembly/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Assembly 如何阻止除我';我在。_Assembly_Assemblies - Fatal编程技术网

Assembly 如何阻止除我';我在。

Assembly 如何阻止除我';我在。,assembly,assemblies,Assembly,Assemblies,每次计数器12(PIC-8253)完成计数后,我需要重新执行ISR_COUNT12。。 每当计数器2变为0时,ISR\u COUNT12就会被调用。不可能屏蔽软件中断。我想禁用所有软件中断,但分配给计数器的软件中断除外(ISR\u COUNT12)。我如何在中断向量表中使用索引“34”屏蔽中断,以便在使用CLI/STI作为honset时不受影响,我认为这是不可能的。 ;counter1 init mov al, 01110100b out 063h, al

每次计数器12(PIC-8253)完成计数后,我需要重新执行ISR_COUNT12。。
每当计数器2变为0时,ISR\u COUNT12就会被调用。

不可能屏蔽软件中断。

我想禁用所有软件中断,但分配给计数器的软件中断除外(ISR\u COUNT12)。我如何在中断向量表中使用索引“34”屏蔽中断,以便在使用CLI/STI作为honset时不受影响,我认为这是不可能的。
     ;counter1 init
    mov al, 01110100b       
    out 063h, al

     ;counter2 init
    mov al, 10010100b       
    out 063h, al            
; ISR executed when count2 ends                                 
ISR_COUNT12 PROC               
            cli
              ;procedure to be protected from the other ISR interrupts


            sti

            IRET
ISR_COUNT12 ENDP