`
yaojingguo
  • 浏览: 202733 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

Turing machine

 
阅读更多

A computer architecture can be seen as a turing machine. But how to express interrupt in turing machine?

 

I think that we can see interrupt a the flowing condition statement. This statement get executed whenever a instruction is executed.

 

if (condition_1)

    condition_1 interrupt service routine

else if (condition_2)

   condition_2 interrupt service routine

....

else if (condition_n)

  condition_n interrupt service routine

else

  do the normal computation. For example, execute the current instruction.

 

What I say is a only my rough thinking. It is by no means technically correct.

 

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics