-
SVC系统调用的编程使用方法
SVC称为系统服务调用(SuperVisorCall),异常类型为11,通过svc指令可用触发异常,SVC在触发异常后必须立即得到相应(触发异常后在执行异常前不能执行其它代码),除非有更高优先级的异常在执行。 对于可靠系统而言,可以使用SVC异常实现... -
ARM嵌入式开发中的栈回溯机制
两种ABI规范根据编译器的实现不同,存在两种ABI机制,分别为APCS(ARM Procedure Call Standard)和AAPCS(ARM Archtecture Procedure Call Standard)。两种机制存在明显的区别,且... -
常见的字符串Hash算法
常见hash算法的碰撞概率统计 10万 50万 100万 500万 1000万 一亿 1000万次的平均执行时间 一亿次的平均执行时间 一亿次的平均长度 BKDRHash 0.00002 0.000112 0.000251 0.00118... -
Recommended C style and coding rules
This document describes C code style used by Tilen MAJERLE in his projects and libraries. Table of Contents The single most i...