TITLE Save an array and dispaly INCLUDE Irvine32.inc .data array DWORD 12 DUP (?) ; define a array for saving Fibonacci numbers step = type array num DWORD ? count DWORD ? prompt byte "The first t...
C函数如下:#define CPM0(a, b) (a == b)#define CPM1(a, b) (a < b)#define MUX(a, c, d) (a ?(c):(d))#define VIDEO_WIDTH_FD1 704#define COVER_STEPFD1 4#define COVER_RIGHTFD1 2#define COVER_STEPCIF 4#define CO...
三、面向字节、常数与控制操作的指令1传送立即数至工作寄存器W指令指令格式:MOVLW k;k表示常数、立即数和标号说明:MOVLW是Move Literal to w的缩写实例:MOVL 0x1E;常数30送W2I/O口控制寄存器TRIS设置指令指令格式;TRISf说明;TRIS f是Load TRIS Register的缩写。其功能是把...