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

📄 main.asm

📁 基于凌阳的大名鼎鼎的杰克机器人代码。
💻 ASM
📖 第 1 页 / 共 3 页
字号:
	[SP--]=R1	// QImode move
	call _PlaySnd	// call without return value
	SP = SP + 1	//SP
.debug
	.dw '.stabn 0x44,0,119,',0,0
	.dd LM52-_main
	.dw 0x0d,0x0a
.code
LM52:
	R1=23	// QImode move
	[SP--]=R1	// QImode move
	call _PlaySnd	// call without return value
	SP = SP + 1	//SP
.debug
	.dw '.stabn 0x44,0,120,',0,0
	.dd LM53-_main
	.dw 0x0d,0x0a
.code
LM53:
	R1=24	// QImode move
	[SP--]=R1	// QImode move
	call _PlaySnd	// call without return value
	SP = SP + 1	//SP
.debug
	.dw '.stabn 0x44,0,121,',0,0
	.dd LM54-_main
	.dw 0x0d,0x0a
.code
LM54:
	pc=L4	// Indirect jump
.debug
	.dw '.stabn 0x44,0,122,',0,0
	.dd LM55-_main
	.dw 0x0d,0x0a
.code
LM55:
	pc=L19	// Indirect jump
L21:
.debug
	.dw '.stabn 0x44,0,126,',0,0
	.dd LM56-_main
	.dw 0x0d,0x0a
.code
LM56:
	R1=1	// QImode move
	[SP--]=R1	// QImode move
	call _Robot_Go	// call without return value
	SP = SP + 1	//SP
.debug
	.dw '.stabn 0x44,0,127,',0,0
	.dd LM57-_main
	.dw 0x0d,0x0a
.code
LM57:
	R1=33	// QImode move
	[SP--]=R1	// QImode move
	call _PlaySnd	// call without return value
	SP = SP + 1	//SP
.debug
	.dw '.stabn 0x44,0,128,',0,0
	.dd LM58-_main
	.dw 0x0d,0x0a
.code
LM58:
	R1=(-2304)	// QImode move
	[SP--]=R1	// QImode move
	call _ImportFiveCommand	// call without return value
	SP = SP + 1	//SP
.debug
	.dw '.stabn 0x44,0,129,',0,0
	.dd LM59-_main
	.dw 0x0d,0x0a
.code
LM59:
	R1=BP	// QImode move
	R2=BP+4
	R1=0	// QImode move
	R4=R2	// QImode move
	[R4]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,130,',0,0
	.dd LM60-_main
	.dw 0x0d,0x0a
.code
LM60:
	R1=BP	// QImode move
	R2=BP+2
	R1=0	// QImode move
	R3=R2	// QImode move
	[R3]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,131,',0,0
	.dd LM61-_main
	.dw 0x0d,0x0a
.code
LM61:
	pc=L4	// Indirect jump
.debug
	.dw '.stabn 0x44,0,132,',0,0
	.dd LM62-_main
	.dw 0x0d,0x0a
.code
LM62:
	pc=L19	// Indirect jump
L22:
.debug
	.dw '.stabn 0x44,0,136,',0,0
	.dd LM63-_main
	.dw 0x0d,0x0a
.code
LM63:
	R1=1	// QImode move
	[SP--]=R1	// QImode move
	call _Robot_HeadTurnLeft	// call without return value
	SP = SP + 1	//SP
.debug
	.dw '.stabn 0x44,0,137,',0,0
	.dd LM64-_main
	.dw 0x0d,0x0a
.code
LM64:
	R1=32	// QImode move
	[SP--]=R1	// QImode move
	call _PlaySnd	// call without return value
	SP = SP + 1	//SP
.debug
	.dw '.stabn 0x44,0,138,',0,0
	.dd LM65-_main
	.dw 0x0d,0x0a
.code
LM65:
	R1=32	// QImode move
	[SP--]=R1	// QImode move
	call _PlaySnd	// call without return value
	SP = SP + 1	//SP
.debug
	.dw '.stabn 0x44,0,139,',0,0
	.dd LM66-_main
	.dw 0x0d,0x0a
.code
LM66:
	R1=32	// QImode move
	[SP--]=R1	// QImode move
	call _PlaySnd	// call without return value
	SP = SP + 1	//SP
.debug
	.dw '.stabn 0x44,0,140,',0,0
	.dd LM67-_main
	.dw 0x0d,0x0a
.code
LM67:
	R1=(-2304)	// QImode move
	[SP--]=R1	// QImode move
	call _ImportFiveCommand	// call without return value
	SP = SP + 1	//SP
.debug
	.dw '.stabn 0x44,0,141,',0,0
	.dd LM68-_main
	.dw 0x0d,0x0a
.code
LM68:
	R1=BP	// QImode move
	R2=BP+4
	R1=0	// QImode move
	R4=R2	// QImode move
	[R4]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,142,',0,0
	.dd LM69-_main
	.dw 0x0d,0x0a
.code
LM69:
	R1=BP	// QImode move
	R2=BP+2
	R1=0	// QImode move
	R3=R2	// QImode move
	[R3]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,143,',0,0
	.dd LM70-_main
	.dw 0x0d,0x0a
.code
LM70:
	pc=L4	// Indirect jump
.debug
	.dw '.stabn 0x44,0,144,',0,0
	.dd LM71-_main
	.dw 0x0d,0x0a
.code
LM71:
	pc=L19	// Indirect jump
L24:
L19:
.debug
	.dw '.stabn 0x44,0,146,',0,0
	.dd LM72-_main
	.dw 0x0d,0x0a
.code
LM72:
	R1=1	// QImode move
	[28690]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,147,',0,0
	.dd LM73-_main
	.dw 0x0d,0x0a
.code
LM73:
	R1=BP	// QImode move
	R2=BP+2
	R1=0	// QImode move
	R4=R2	// QImode move
	[R4]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,148,',0,0
	.dd LM74-_main
	.dw 0x0d,0x0a
.code
LM74:
	pc=L10	// Indirect jump
L25:
.debug
	.dw '.stabn 0x44,0,152,',0,0
	.dd LM75-_main
	.dw 0x0d,0x0a
.code
LM75:
	R1=BP	// QImode move
	R2=BP+4
	R3=R2	// QImode move
	R1=[R3]	// QImode move
	CMP R1,1	// QImode compare
	NSJZ L28	//QImode EQ
	CMP R1,1	// QImode compare
	NSJB L27	//QImode LTU
	CMP R1,2	// QImode compare
	NSJZ L29	//QImode EQ
	pc=L26	// Indirect jump
L27:
.debug
	.dw '.stabn 0x44,0,157,',0,0
	.dd LM76-_main
	.dw 0x0d,0x0a
.code
LM76:
	R1=(-1280)	// QImode move
	[SP--]=R1	// QImode move
	call _ImportFiveCommand	// call without return value
	SP = SP + 1	//SP
.debug
	.dw '.stabn 0x44,0,158,',0,0
	.dd LM77-_main
	.dw 0x0d,0x0a
.code
LM77:
	R1=BP	// QImode move
	R2=BP+4
	R1=2	// QImode move
	R4=R2	// QImode move
	[R4]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,159,',0,0
	.dd LM78-_main
	.dw 0x0d,0x0a
.code
LM78:
	R1=22	// QImode move
	[SP--]=R1	// QImode move
	call _PlaySnd	// call without return value
	SP = SP + 1	//SP
.debug
	.dw '.stabn 0x44,0,160,',0,0
	.dd LM79-_main
	.dw 0x0d,0x0a
.code
LM79:
	R1=23	// QImode move
	[SP--]=R1	// QImode move
	call _PlaySnd	// call without return value
	SP = SP + 1	//SP
.debug
	.dw '.stabn 0x44,0,161,',0,0
	.dd LM80-_main
	.dw 0x0d,0x0a
.code
LM80:
	R1=23	// QImode move
	[SP--]=R1	// QImode move
	call _PlaySnd	// call without return value
	SP = SP + 1	//SP
.debug
	.dw '.stabn 0x44,0,162,',0,0
	.dd LM81-_main
	.dw 0x0d,0x0a
.code
LM81:
	R1=24	// QImode move
	[SP--]=R1	// QImode move
	call _PlaySnd	// call without return value
	SP = SP + 1	//SP
.debug
	.dw '.stabn 0x44,0,163,',0,0
	.dd LM82-_main
	.dw 0x0d,0x0a
.code
LM82:
	pc=L4	// Indirect jump
.debug
	.dw '.stabn 0x44,0,164,',0,0
	.dd LM83-_main
	.dw 0x0d,0x0a
.code
LM83:
	pc=L26	// Indirect jump
L28:
.debug
	.dw '.stabn 0x44,0,168,',0,0
	.dd LM84-_main
	.dw 0x0d,0x0a
.code
LM84:
	R1=1	// QImode move
	[SP--]=R1	// QImode move
	call _Robot_Backup	// call without return value
	SP = SP + 1	//SP
.debug
	.dw '.stabn 0x44,0,169,',0,0
	.dd LM85-_main
	.dw 0x0d,0x0a
.code
LM85:
	R1=33	// QImode move
	[SP--]=R1	// QImode move
	call _PlaySnd	// call without return value
	SP = SP + 1	//SP
.debug
	.dw '.stabn 0x44,0,170,',0,0
	.dd LM86-_main
	.dw 0x0d,0x0a
.code
LM86:
	R1=(-2304)	// QImode move
	[SP--]=R1	// QImode move
	call _ImportFiveCommand	// call without return value
	SP = SP + 1	//SP
.debug
	.dw '.stabn 0x44,0,171,',0,0
	.dd LM87-_main
	.dw 0x0d,0x0a
.code
LM87:
	R1=BP	// QImode move
	R2=BP+4
	R1=0	// QImode move
	R3=R2	// QImode move
	[R3]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,172,',0,0
	.dd LM88-_main
	.dw 0x0d,0x0a
.code
LM88:
	pc=L26	// Indirect jump
L29:
.debug
	.dw '.stabn 0x44,0,176,',0,0
	.dd LM89-_main
	.dw 0x0d,0x0a
.code
LM89:
	R1=1	// QImode move
	[SP--]=R1	// QImode move
	call _Robot_HeadTurnRight	// call without return value
	SP = SP + 1	//SP
.debug
	.dw '.stabn 0x44,0,177,',0,0
	.dd LM90-_main
	.dw 0x0d,0x0a
.code
LM90:
	R1=32	// QImode move
	[SP--]=R1	// QImode move
	call _PlaySnd	// call without return value
	SP = SP + 1	//SP
.debug
	.dw '.stabn 0x44,0,178,',0,0
	.dd LM91-_main
	.dw 0x0d,0x0a
.code
LM91:
	R1=32	// QImode move
	[SP--]=R1	// QImode move
	call _PlaySnd	// call without return value
	SP = SP + 1	//SP
.debug
	.dw '.stabn 0x44,0,179,',0,0
	.dd LM92-_main
	.dw 0x0d,0x0a
.code
LM92:
	R1=32	// QImode move
	[SP--]=R1	// QImode move
	call _PlaySnd	// call without return value
	SP = SP + 1	//SP
.debug
	.dw '.stabn 0x44,0,180,',0,0
	.dd LM93-_main
	.dw 0x0d,0x0a
.code
LM93:
	R1=(-2304)	// QImode move
	[SP--]=R1	// QImode move
	call _ImportFiveCommand	// call without return value
	SP = SP + 1	//SP
.debug
	.dw '.stabn 0x44,0,181,',0,0
	.dd LM94-_main
	.dw 0x0d,0x0a
.code
LM94:
	R1=BP	// QImode move
	R2=BP+4
	R1=0	// QImode move
	R4=R2	// QImode move
	[R4]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,182,',0,0
	.dd LM95-_main
	.dw 0x0d,0x0a
.code
LM95:
	R1=BP	// QImode move
	R2=BP+2
	R1=0	// QImode move
	R3=R2	// QImode move
	[R3]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,183,',0,0
	.dd LM96-_main
	.dw 0x0d,0x0a
.code
LM96:
	pc=L4	// Indirect jump
.debug
	.dw '.stabn 0x44,0,184,',0,0
	.dd LM97-_main
	.dw 0x0d,0x0a
.code
LM97:
	pc=L26	// Indirect jump
L31:
L26:
.debug
	.dw '.stabn 0x44,0,186,',0,0
	.dd LM98-_main
	.dw 0x0d,0x0a
.code
LM98:
	R1=1	// QImode move
	[28690]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,187,',0,0
	.dd LM99-_main
	.dw 0x0d,0x0a
.code
LM99:
	R1=BP	// QImode move
	R2=BP+2
	R1=0	// QImode move
	R4=R2	// QImode move
	[R4]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,188,',0,0
	.dd LM100-_main
	.dw 0x0d,0x0a
.code
LM100:
	pc=L10	// Indirect jump
L32:
.debug
	.dw '.stabn 0x44,0,192,',0,0
	.dd LM101-_main
	.dw 0x0d,0x0a
.code
LM101:
	R1=BP	// QImode move
	R2=BP+4
	R3=R2	// QImode move
	R1=[R3]	// QImode move
	CMP R1,1	// QImode compare
	NSJZ L35	//QImode EQ
	CMP R1,1	// QImode compare
	NSJB L34	//QImode LTU
	CMP R1,2	// QImode compare
	NSJZ L36	//QImode EQ
	pc=L33	// Indirect jump
L34:
.debug
	.dw '.stabn 0x44,0,197,',0,0
	.dd LM102-_main
	.dw 0x0d,0x0a
.code
LM102:
	R1=2	// QImode move
	[SP--]=R1	// QImode move
	call _Robot_Dance	// call without return value
	SP = SP + 1	//SP
.debug
	.dw '.stabn 0x44,0,198,',0,0
	.dd LM103-_main
	.dw 0x0d,0x0a
.code
LM103:
	R1=BP	// QImode move
	R2=BP+2
	R1=0	// QImode move
	R4=R2	// QImode move
	[R4]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,199,',0,0
	.dd LM104-_main
	.dw 0x0d,0x0a
.code
LM104:
	R1=1	// QImode move
	[28690]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,200,',0,0
	.dd LM105-_main
	.dw 0x0d,0x0a
.code
LM105:
	pc=L33	// Indirect jump
L35:
.debug
	.dw '.stabn 0x44,0,204,',0,0
	.dd LM106-_main
	.dw 0x0d,0x0a
.code
LM106:
	R1=1	// QImode move
	[SP--]=R1	// QImode move
	call _Robot_TurnLeft	// call without return value
	SP = SP + 1	//SP
.debug
	.dw '.stabn 0x44,0,205,',0,0
	.dd LM107-_main
	.dw 0x0d,0x0a
.code
LM107:
	R1=33	// QImode move
	[SP--]=R1	// QImode move
	call _PlaySnd	// call without return value
	SP = SP + 1	//SP
.debug
	.dw '.stabn 0x44,0,206,',0,0
	.dd LM108-_main
	.dw 0x0d,0x0a
.code
LM108:
	R1=(-2304)	// QImode move
	[SP--]=R1	// QImode move
	call _ImportFiveCommand	// call without return value
	SP = SP + 1	//SP
.debug
	.dw '.stabn 0x44,0,207,',0,0
	.dd LM109-_main
	.dw 0x0d,0x0a
.code
LM109:
	R1=BP	// QImode move
	R2=BP+4
	R1=0	// QImode move
	R3=R2	// QImode move
	[R3]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,208,',0,0
	.dd LM110-_main
	.dw 0x0d,0x0a
.code
LM110:
	R1=BP	// QImode move
	R2=BP+2
	R1=0	// QImode move
	R4=R2	// QImode move
	[R4]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,209,',0,0
	.dd LM111-_main
	.dw 0x0d,0x0a
.code
LM111:
	pc=L4	// Indirect jump
.debug
	.dw '.stabn 0x44,0,210,',0,0
	.dd LM112-_main
	.dw 0x0d,0x0a
.code
LM112:
	pc=L33	// Indirect jump
L36:
.debug
	.dw '.stabn 0x44,0,214,',0,0
	.dd LM113-_main
	.dw 0x0d,0x0a

⌨️ 快捷键说明

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