检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]河南理工大学计算机学院,河南焦作454000
出 处:《计算机应用与软件》2014年第9期325-328,共4页Computer Applications and Software
基 金:国家创新方法工作专项(2012IM010200)
摘 要:针对ARM9 S3C2410的汇编语言中断程序难以理解的问题,提出用堆栈图对中断程序进行解析的方法。在详细论述S3C2410的中断管理机制基础上,给出中断处理的三级跳转图。分析三级跳转的设计思想,讨论利用异常跳转表、宏指令表、异常向量表、中断向量表实现跳转的方式。并用堆栈图详细解析跳转程序,给出中断服务程序写入中断向量表的汇编语言方式与C语言方式。分析结果表明,堆栈图方法能够详细清楚地呈现中断程序的设计思想,是一种行之有效的汇编语言中断程序的解析方法。For the problem of difficult to understand the interrupt program in ARM9 S3C2410 assembly language,we propose a method toparse the interrupt program with stack diagram.On the basis of expounding the interrupt management mechanism of S3C2410,we give athree-grade jump diagrams for interrupt processing,and analyse the design ideas of the three-grade jump.We discuss the jump realisationmeans,including using the exception jump table,macro table,exception vector table,interrupt vector table,etc.,and parse in detail thejump programs using stack diagram.Besides,we also give the assembly language mode and C language mode with which the interrupt serviceprogram is written into interrupt vector table.Analytical results show that the stack diagram method can thoroughly and clearly present the de-sign ideas of interrupt program,it is an effective parsing way for the interrupt program in assembly language.
关 键 词:中断管理 三级跳转 中断向量表 异常跳转表 堆栈图方法
分 类 号:TP21[自动化与计算机技术—检测技术与自动化装置]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.7