assembler.h

来自「ARM Linux Tool 各种代码包括MTD」· C头文件 代码 · 共 30 行

H
30
字号
/* * linux/asm/assembler.h * * This file contains arm architecture specific defines * for the different processors. * * Do not include any C declarations in this file - it is included by * assembler source. */#ifndef __ASSEMBLY__#error "Only include this from assembly code"#endif#include <asm/proc/ptrace.h>#include <asm/proc/assembler.h>/* * Endian independent macros for shifting bytes within registers. */#ifndef __ARMEB__#define pull            lsr#define push            lsl#define byte(x)         (x*8)#else#define pull            lsl#define push            lsr#define byte(x)         ((3-x)*8)#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?