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

📄 y.out

📁 《编译方法》课程设计内容2.《编译方法》课程设计内容
💻 OUT
📖 第 1 页 / 共 3 页
字号:
	.  error

	ws  goto 194
	separator  goto 10


state 65
	ldi_instr : ldi_op . ws offset '(' reg ')' ',' reg  (51)
	ldi_instr : ldi_op . ws label ',' reg  (52)

	' '  shift 2
	'\t'  shift 3
	.  error

	ws  goto 195
	separator  goto 10


state 66
	lda_instr : lda_op . ws offset '(' reg ')' ',' reg  (53)
	lda_instr : lda_op . ws label ',' reg  (54)

	' '  shift 2
	'\t'  shift 3
	.  error

	ws  goto 196
	separator  goto 10


state 67
	ldr_instr : ldr_op . ws reg ',' reg  (55)

	' '  shift 2
	'\t'  shift 3
	.  error

	ws  goto 197
	separator  goto 10


state 68
	bze_instr : bze_op . ws offset  (56)
	bze_instr : bze_op . ws label  (57)

	' '  shift 2
	'\t'  shift 3
	.  error

	ws  goto 198
	separator  goto 10


state 69
	bnz_instr : bnz_op . ws offset  (58)
	bnz_instr : bnz_op . ws label  (59)

	' '  shift 2
	'\t'  shift 3
	.  error

	ws  goto 199
	separator  goto 10


state 70
	bra_instr : bra_op . ws offset  (60)
	bra_instr : bra_op . ws label  (61)

	' '  shift 2
	'\t'  shift 3
	.  error

	ws  goto 200
	separator  goto 10


state 71
	bal_instr : bal_op . ws reg ',' reg  (62)

	' '  shift 2
	'\t'  shift 3
	.  error

	ws  goto 201
	separator  goto 10


state 72
	db_instr : db_op . ws number  (63)

	' '  shift 2
	'\t'  shift 3
	.  error

	ws  goto 202
	separator  goto 10


state 73
	comment : ws text_comment .  (83)
	text_comment : text_comment . char  (85)

	':'  shift 74
	'L'  shift 75
	'-'  shift 76
	'0'  shift 77
	'1'  shift 78
	'2'  shift 79
	'3'  shift 80
	'4'  shift 81
	'5'  shift 82
	'6'  shift 83
	'7'  shift 84
	'8'  shift 85
	'9'  shift 86
	' '  shift 2
	'\t'  shift 3
	','  shift 87
	'('  shift 88
	')'  shift 89
	'H'  shift 90
	'A'  shift 91
	'T'  shift 92
	'N'  shift 93
	'O'  shift 94
	'P'  shift 95
	'R'  shift 96
	'D'  shift 97
	'S'  shift 98
	'U'  shift 99
	'B'  shift 100
	'M'  shift 101
	'I'  shift 102
	'V'  shift 103
	'Z'  shift 104
	'E'  shift 105
	'\\'  shift 106
	'a'  shift 107
	'b'  shift 108
	'c'  shift 109
	'd'  shift 110
	'e'  shift 111
	'f'  shift 112
	'g'  shift 113
	'h'  shift 114
	'i'  shift 115
	'j'  shift 116
	'k'  shift 117
	'l'  shift 118
	'm'  shift 119
	'n'  shift 120
	'o'  shift 121
	'p'  shift 122
	'q'  shift 123
	'r'  shift 124
	's'  shift 125
	't'  shift 126
	'u'  shift 127
	'v'  shift 128
	'w'  shift 129
	'x'  shift 130
	'y'  shift 131
	'z'  shift 132
	'C'  shift 133
	'F'  shift 134
	'G'  shift 135
	'J'  shift 136
	'K'  shift 137
	'Q'  shift 138
	'W'  shift 139
	'X'  shift 140
	'Y'  shift 141
	'!'  shift 142
	'"'  shift 143
	'#'  shift 144
	'$'  shift 145
	'%'  shift 146
	'&'  shift 147
	'\''  shift 148
	'='  shift 149
	'~'  shift 150
	'^'  shift 151
	'|'  shift 152
	'@'  shift 153
	'{'  shift 154
	'['  shift 155
	'`'  shift 156
	'_'  shift 157
	'+'  shift 158
	';'  shift 159
	'*'  shift 160
	'}'  shift 161
	']'  shift 162
	'<'  shift 163
	'>'  shift 164
	'.'  shift 165
	'?'  shift 166
	'/'  shift 167
	'\n'  reduce 83

	separator  goto 168
	char  goto 169


state 74
	char : ':' .  (172)

	.  reduce 172


state 75
	char : 'L' .  (125)

	.  reduce 125


state 76
	char : '-' .  (160)

	.  reduce 160


state 77
	char : '0' .  (140)

	.  reduce 140


state 78
	char : '1' .  (141)

	.  reduce 141


state 79
	char : '2' .  (142)

	.  reduce 142


state 80
	char : '3' .  (143)

	.  reduce 143


state 81
	char : '4' .  (144)

	.  reduce 144


state 82
	char : '5' .  (145)

	.  reduce 145


state 83
	char : '6' .  (146)

	.  reduce 146


state 84
	char : '7' .  (147)

	.  reduce 147


state 85
	char : '8' .  (148)

	.  reduce 148


state 86
	char : '9' .  (149)

	.  reduce 149


state 87
	char : ',' .  (177)

	.  reduce 177


state 88
	char : '(' .  (157)

	.  reduce 157


state 89
	char : ')' .  (158)

	.  reduce 158


state 90
	char : 'H' .  (121)

	.  reduce 121


state 91
	char : 'A' .  (114)

	.  reduce 114


state 92
	char : 'T' .  (133)

	.  reduce 133


state 93
	char : 'N' .  (127)

	.  reduce 127


state 94
	char : 'O' .  (128)

	.  reduce 128


state 95
	char : 'P' .  (129)

	.  reduce 129


state 96
	char : 'R' .  (131)

	.  reduce 131


state 97
	char : 'D' .  (117)

	.  reduce 117


state 98
	char : 'S' .  (132)

	.  reduce 132


state 99
	char : 'U' .  (134)

	.  reduce 134


state 100
	char : 'B' .  (115)

	.  reduce 115


state 101
	char : 'M' .  (126)

	.  reduce 126


state 102
	char : 'I' .  (122)

	.  reduce 122


state 103
	char : 'V' .  (135)

	.  reduce 135


state 104
	char : 'Z' .  (139)

	.  reduce 139


state 105
	char : 'E' .  (118)

	.  reduce 118


state 106
	char : '\\' .  (163)

	.  reduce 163


state 107
	char : 'a' .  (88)

	.  reduce 88


state 108
	char : 'b' .  (89)

	.  reduce 89


state 109
	char : 'c' .  (90)

	.  reduce 90


state 110
	char : 'd' .  (91)

	.  reduce 91


state 111
	char : 'e' .  (92)

	.  reduce 92


state 112
	char : 'f' .  (93)

	.  reduce 93


state 113
	char : 'g' .  (94)

	.  reduce 94


state 114
	char : 'h' .  (95)

	.  reduce 95


state 115
	char : 'i' .  (96)

	.  reduce 96


state 116
	char : 'j' .  (97)

	.  reduce 97


state 117
	char : 'k' .  (98)

	.  reduce 98


state 118
	char : 'l' .  (99)

	.  reduce 99


state 119
	char : 'm' .  (100)

	.  reduce 100


state 120
	char : 'n' .  (101)

	.  reduce 101


state 121
	char : 'o' .  (102)

	.  reduce 102


state 122
	char : 'p' .  (103)

	.  reduce 103


state 123
	char : 'q' .  (104)

	.  reduce 104


state 124
	char : 'r' .  (105)

	.  reduce 105


state 125
	char : 's' .  (106)

	.  reduce 106


state 126
	char : 't' .  (107)

	.  reduce 107


state 127
	char : 'u' .  (108)

	.  reduce 108


state 128
	char : 'v' .  (109)

	.  reduce 109


state 129
	char : 'w' .  (110)

	.  reduce 110


state 130
	char : 'x' .  (111)

	.  reduce 111


state 131
	char : 'y' .  (112)

	.  reduce 112


state 132
	char : 'z' .  (113)

	.  reduce 113


state 133
	char : 'C' .  (116)

	.  reduce 116


state 134
	char : 'F' .  (119)

	.  reduce 119


state 135
	char : 'G' .  (120)

	.  reduce 120


state 136
	char : 'J' .  (123)

	.  reduce 123


state 137
	char : 'K' .  (124)

	.  reduce 124


state 138
	char : 'Q' .  (130)

	.  reduce 130


state 139
	char : 'W' .  (136)

	.  reduce 136


state 140
	char : 'X' .  (137)

	.  reduce 137


state 141
	char : 'Y' .  (138)

	.  reduce 138


state 142
	char : '!' .  (150)

	.  reduce 150


state 143
	char : '"' .  (151)

	.  reduce 151


state 144
	char : '#' .  (152)

	.  reduce 152


state 145
	char : '$' .  (153)

	.  reduce 153


state 146
	char : '%' .  (154)

	.  reduce 154


state 147
	char : '&' .  (155)

	.  reduce 155


state 148
	char : '\'' .  (156)

	.  reduce 156


state 149
	char : '=' .  (159)

	.  reduce 159


state 150
	char : '~' .  (161)

	.  reduce 161


state 151
	char : '^' .  (162)

	.  reduce 162


state 152
	char : '|' .  (164)

	.  reduce 164


state 153
	char : '@' .  (165)

	.  reduce 165


state 154
	char : '{' .  (166)

	.  reduce 166


state 155
	char : '[' .  (167)

	.  reduce 167


state 156
	char : '`' .  (168)

	.  reduce 168


state 157
	char : '_' .  (169)

	.  reduce 169


state 158
	char : '+' .  (170)

	.  reduce 170


state 159
	char : ';' .  (171)

	.  reduce 171


state 160
	char : '*' .  (173)

	.  reduce 173


state 161
	char : '}' .  (174)

	.  reduce 174


state 162
	char : ']' .  (175)

	.  reduce 175


state 163
	char : '<' .  (176)

	.  reduce 176


state 164
	char : '>' .  (178)

	.  reduce 178


state 165
	char : '.' .  (179)

	.  reduce 179


state 166
	char : '?' .  (180)

	.  reduce 180


state 167
	char : '/' .  (181)

	.  reduce 181


state 168
	char : separator .  (87)

	.  reduce 87


state 169
	text_comment : text_comment char .  (85)

	.  reduce 85


state 170
	number : '-' number1 .  (9)
	number1 : number1 . digit  (10)

	'0'  shift 13
	'1'  shift 14
	'2'  shift 15
	'3'  shift 16
	'4'  shift 17
	'5'  shift 18
	'6'  shift 19
	'7'  shift 20
	'8'  shift 21
	'9'  shift 22
	':'  reduce 9
	' '  reduce 9
	'\t'  reduce 9
	','  reduce 9
	'('  reduce 9
	')'  reduce 9
	'\\'  reduce 9
	'\n'  reduce 9

	digit  goto 171


state 171
	number1 : number1 digit .  (10)

	.  reduce 10


state 172
	statement : label ':' comment . return  (4)

	'\n'  shift 27
	.  error

	return  goto 203


state 173
	statement : label ':' ws . instruction comment return  (5)
	ws : ws . separator  (23)
	comment : ws . text_comment  (83)

	'L'  shift 30
	' '  shift 2
	'\t'  shift 3
	'H'  shift 31
	'A'  shift 32
	'T'  shift 33
	'N'  shift 34
	'D'  shift 35
	'S'  shift 36
	'B'  shift 37
	'M'  shift 38
	'\\'  shift 4
	.  error

	instruction  goto 204
	separator  goto 40
	halt_instr  goto 41
	nop_instr  goto 42
	trap_instr  goto 43
	add_instr  goto 44
	sub_instr  goto 45
	mul_instr  goto 46
	div_instr  goto 47
	sti_instr  goto 48
	ldi_instr  goto 49
	lda_instr  goto 50
	ldr_instr  goto 51
	bze_instr  goto 52
	bnz_instr  goto 53
	bra_instr  goto 54
	bal_instr  goto 55
	db_instr  goto 56
	halt_op  goto 57
	nop_op  goto 58
	trap_op  goto 59
	add_op  goto 60
	sub_op  goto 61
	mul_op  goto 62
	div_op  goto 63
	sti_op  goto 64
	ldi_op  goto 65
	lda_op  goto 66
	ldr_op  goto 67
	bze_op  goto 68
	bnz_op  goto 69
	bra_op  goto 70
	bal_op  goto 71
	db_op  goto 72
	text_comment  goto 73


state 174
	ldi_op : 'L' 'D' . 'I'  (72)
	lda_op : 'L' 'D' . 'A'  (73)
	ldr_op : 'L' 'D' . 'R'  (74)

	'A'  shift 205
	'R'  shift 206
	'I'  shift 207
	.  error


state 175
	halt_op : 'H' 'A' . 'L' 'T'  (64)

	'L'  shift 208
	.  error


state 176
	add_op : 'A' 'D' . 'D'  (67)

	'D'  shift 209
	.  error


state 177
	trap_op : 'T' 'R' . 'A' 'P'  (66)

	'A'  shift 210
	.  error


state 178

⌨️ 快捷键说明

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