代码搜索:CASL
找到约 71 项符合「CASL」的源代码
代码结果 71
www.eeworm.com/read/283943/8977794
casl+Ҧ
www.eeworm.com/read/283943/8977828
casl+Ҧ
CASL 汇 编 语 言 文 本
一、处理机COMET说明
1. COMET是一台字长为16位的定点计算机。主存储器的容量是65536字,按编
号0000~FFFF(十六进制)编址。
2. 一个字的16位二进位采用自左至右的次序编号,即
0 1 2 3 4 5 6 7 8 9
www.eeworm.com/read/102417/15781473
y casl.y
%{
#include
#include
#include
#include
#include
#include "../Common/GlobalVariableDef.h"
#include "../Common/FileMapping.h"
LPV
www.eeworm.com/read/102417/15781584
l casl.l
%{
#include "../Common/GlobalVariableDef.h"
#include "../Common/CaslUtil.h"
using namespace CaslUtil;
int g_iLineNumber = 0;
char g_chTemp;
%}
%%
"GR0" {return (GR0);}
"GR1" {return (
www.eeworm.com/read/102417/15781595
y casl.y
%{
#include
#include
#include
%}
%token DECIMAL
%token HEX
%token ID
%token LABEL
%token DS
%token DC
%token GR0
%token GR1
%token GR2
%token GR3
%token G
www.eeworm.com/read/102417/15781596
l casl.l
%{
%}
%%
"GR0" {return (GR0);}
"GR1" {return (GR1);}
"GR2" {return (GR2);}
"GR3" {return (GR3);}
"GR4" {return (GR4);}
"DC" {return (DC);}
"DS" {return (DS);}
"LD" {return (LD);}
"S
www.eeworm.com/read/102417/15781597
casl test.casl
START
A1 DS 121
A2 DS 1212
A3 DC 2121
A4 DC '34'
A5 DC #200
A6 DC '1212121'
LABELLD
LD GR4, A6, GR3
LEA GR2, 12, GR1
LABELST
ST GR1, 1211, GR2
ADD GR1, 34
SUB GR2, 56
AND GR1,
www.eeworm.com/read/102417/15781630
casl new.casl
START
A1 DC '1212'
D1 DC 3
D2 DS 16
D3 DC '555'
D4 DC 7
D5 DC 8
D6 DC 999
FFL DC 0
FFF DC 'AAAA'
DC STRLEN
STRLEN DC -12
STR DC 'str'
STARTST
LEA GR1, A1
LEA GR3, #44A
LEA GR0,#787
www.eeworm.com/read/102417/15781636
h instructiondef.h
///////////////////////////////////////////////////////////////////////
//文件功能:定义Casl汇编中的指令相关数据
//开发人员:杨军
//开发日期:2004-4-17
//修改人员:
//修改日期:
///////////////////////////////////////////////////////
www.eeworm.com/read/102417/15781433
bak casl.y.bak
%{
#include
#include
#include
#include
#include "../../Compiler/GlobalVariableDef.h"
int yyerror(char *s);
int yylex(void);
%}
%token DECIMAL
%to