⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 asm.h

📁 bootup code for Barebone, it s useful for bring up new chip
💻 H
字号:
/* * asmmacro.h: Assembler macros to make things easier to read. * * Copyright (C) 1996 David S. Miller (dm@engr.sgi.com) * Copyright (C) 1998 Ralf Baechle */#include "regdef.h"#include "cp0regdef.h"/* * LEAF - declare leaf routine */#define LEAF(symbol)                                    \                .globl  symbol;                         \                .align  2;                              \                .type   symbol,@function;               \                .ent    symbol,0;                       \symbol:         .frame  sp,0,ra/* * NESTED - declare nested routine entry point */#define NESTED(symbol, framesize, rpc)                  \                .globl  symbol;                         \                .align  2;                              \                .type   symbol,@function;               \                .ent    symbol,0;                       \symbol:         .frame  sp, framesize, rpc/* * END - mark end of function */#define END(function)                                   \                .end    function;                       \                .size   function,.-function

⌨️ 快捷键说明

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