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

📄 robot_function.asm

📁 基于凌阳的大名鼎鼎的杰克机器人代码。
💻 ASM
📖 第 1 页 / 共 5 页
字号:
	.dw '.stabn 0x44,0,342,',0,0
	.dd LM217-_Robot_DanceAgain
	.dw 0x0d,0x0a
.code
LM217:
	R1=BP	// QImode move
	R2=BP+2
	R1=[28679]	// QImode move
	R4=R2	// QImode move
	[R4]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,343,',0,0
	.dd LM218-_Robot_DanceAgain
	.dw 0x0d,0x0a
.code
LM218:
	R1=BP	// QImode move
	R2=BP+3
	R1=[28680]	// QImode move
	R3=R2	// QImode move
	[R3]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,344,',0,0
	.dd LM219-_Robot_DanceAgain
	.dw 0x0d,0x0a
.code
LM219:
	R1=BP	// QImode move
	R2=BP+1
	R1=[28677]	// QImode move
	R4=R2	// QImode move
	[R4]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,346,',0,0
	.dd LM220-_Robot_DanceAgain
	.dw 0x0d,0x0a
.code
LM220:
	R2=BP	// QImode move
	R1=BP+2
	R2=BP	// QImode move
	R3=BP+2
	R2=R3	// QImode move
	R2=[R2]	// QImode move
	R4=R2|8704
	R2=R1	// QImode move
	[R2]=R4	// QImode move
.debug
	.dw '.stabn 0x44,0,347,',0,0
	.dd LM221-_Robot_DanceAgain
	.dw 0x0d,0x0a
.code
LM221:
	R2=BP	// QImode move
	R1=BP+3
	R2=BP	// QImode move
	R3=BP+3
	R4=R3	// QImode move
	R4=[R4]	// QImode move
	R2=R4|8704
	R4=R1	// QImode move
	[R4]=R2	// QImode move
.debug
	.dw '.stabn 0x44,0,348,',0,0
	.dd LM222-_Robot_DanceAgain
	.dw 0x0d,0x0a
.code
LM222:
	R2=BP	// QImode move
	R1=BP+1
	R2=BP	// QImode move
	R3=BP+1
	R2=R3	// QImode move
	R2=[R2]	// QImode move
	R4=R2|8704
	R2=R1	// QImode move
	[R2]=R4	// QImode move
.debug
	.dw '.stabn 0x44,0,350,',0,0
	.dd LM223-_Robot_DanceAgain
	.dw 0x0d,0x0a
.code
LM223:
	R1=BP	// QImode move
	R2=BP+2
	R3=R2	// QImode move
	R1=[R3]	// QImode move
	[28679]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,351,',0,0
	.dd LM224-_Robot_DanceAgain
	.dw 0x0d,0x0a
.code
LM224:
	R1=BP	// QImode move
	R2=BP+3
	R4=R2	// QImode move
	R1=[R4]	// QImode move
	[28680]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,352,',0,0
	.dd LM225-_Robot_DanceAgain
	.dw 0x0d,0x0a
.code
LM225:
	R1=BP	// QImode move
	R2=BP+1
	R3=R2	// QImode move
	R1=[R3]	// QImode move
	[28677]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,354,',0,0
	.dd LM226-_Robot_DanceAgain
	.dw 0x0d,0x0a
.code
LM226:
	R1=40	// QImode move
	[SP--]=R1	// QImode move
	call _PlaySnd	// call without return value
	SP = SP + 1	//SP
.debug
	.dw '.stabn 0x44,0,355,',0,0
	.dd LM227-_Robot_DanceAgain
	.dw 0x0d,0x0a
.code
LM227:
	call _RobotSystemInit	// call without return value
.debug
	.dw '.stabn 0x44,0,358,',0,0
	.dd LM228-_Robot_DanceAgain
	.dw 0x0d,0x0a
.code
LM228:
	R1=BP	// QImode move
	R2=BP+2
	R1=[28679]	// QImode move
	R4=R2	// QImode move
	[R4]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,359,',0,0
	.dd LM229-_Robot_DanceAgain
	.dw 0x0d,0x0a
.code
LM229:
	R1=BP	// QImode move
	R2=BP+3
	R1=[28680]	// QImode move
	R3=R2	// QImode move
	[R3]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,360,',0,0
	.dd LM230-_Robot_DanceAgain
	.dw 0x0d,0x0a
.code
LM230:
	R1=BP	// QImode move
	R2=BP+1
	R1=[28677]	// QImode move
	R4=R2	// QImode move
	[R4]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,362,',0,0
	.dd LM231-_Robot_DanceAgain
	.dw 0x0d,0x0a
.code
LM231:
	R2=BP	// QImode move
	R1=BP+2
	R2=BP	// QImode move
	R3=BP+2
	R2=R3	// QImode move
	R2=[R2]	// QImode move
	R4=R2|18432
	R2=R1	// QImode move
	[R2]=R4	// QImode move
.debug
	.dw '.stabn 0x44,0,363,',0,0
	.dd LM232-_Robot_DanceAgain
	.dw 0x0d,0x0a
.code
LM232:
	R2=BP	// QImode move
	R1=BP+3
	R2=BP	// QImode move
	R3=BP+3
	R4=R3	// QImode move
	R4=[R4]	// QImode move
	R2=R4|18432
	R4=R1	// QImode move
	[R4]=R2	// QImode move
.debug
	.dw '.stabn 0x44,0,364,',0,0
	.dd LM233-_Robot_DanceAgain
	.dw 0x0d,0x0a
.code
LM233:
	R2=BP	// QImode move
	R1=BP+1
	R2=BP	// QImode move
	R3=BP+1
	R2=R3	// QImode move
	R2=[R2]	// QImode move
	R4=R2|18432
	R2=R1	// QImode move
	[R2]=R4	// QImode move
.debug
	.dw '.stabn 0x44,0,366,',0,0
	.dd LM234-_Robot_DanceAgain
	.dw 0x0d,0x0a
.code
LM234:
	R1=BP	// QImode move
	R2=BP+2
	R3=R2	// QImode move
	R1=[R3]	// QImode move
	[28679]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,367,',0,0
	.dd LM235-_Robot_DanceAgain
	.dw 0x0d,0x0a
.code
LM235:
	R1=BP	// QImode move
	R2=BP+3
	R4=R2	// QImode move
	R1=[R4]	// QImode move
	[28680]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,368,',0,0
	.dd LM236-_Robot_DanceAgain
	.dw 0x0d,0x0a
.code
LM236:
	R1=BP	// QImode move
	R2=BP+1
	R3=R2	// QImode move
	R1=[R3]	// QImode move
	[28677]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,370,',0,0
	.dd LM237-_Robot_DanceAgain
	.dw 0x0d,0x0a
.code
LM237:
	R1=41	// QImode move
	[SP--]=R1	// QImode move
	call _PlaySnd	// call without return value
	SP = SP + 1	//SP
.debug
	.dw '.stabn 0x44,0,371,',0,0
	.dd LM238-_Robot_DanceAgain
	.dw 0x0d,0x0a
.code
LM238:
	call _RobotSystemInit	// call without return value
.debug
	.dw '.stabn 0x44,0,374,',0,0
	.dd LM239-_Robot_DanceAgain
	.dw 0x0d,0x0a
.code
LM239:
	R1=BP	// QImode move
	R2=BP+2
	R1=[28679]	// QImode move
	R4=R2	// QImode move
	[R4]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,375,',0,0
	.dd LM240-_Robot_DanceAgain
	.dw 0x0d,0x0a
.code
LM240:
	R1=BP	// QImode move
	R2=BP+3
	R1=[28680]	// QImode move
	R3=R2	// QImode move
	[R3]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,376,',0,0
	.dd LM241-_Robot_DanceAgain
	.dw 0x0d,0x0a
.code
LM241:
	R1=BP	// QImode move
	R2=BP+1
	R1=[28677]	// QImode move
	R4=R2	// QImode move
	[R4]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,378,',0,0
	.dd LM242-_Robot_DanceAgain
	.dw 0x0d,0x0a
.code
LM242:
	R2=BP	// QImode move
	R1=BP+2
	R2=BP	// QImode move
	R3=BP+2
	R2=R3	// QImode move
	R2=[R2]	// QImode move
	R4=R2|512
	R2=R1	// QImode move
	[R2]=R4	// QImode move
.debug
	.dw '.stabn 0x44,0,379,',0,0
	.dd LM243-_Robot_DanceAgain
	.dw 0x0d,0x0a
.code
LM243:
	R2=BP	// QImode move
	R1=BP+3
	R2=BP	// QImode move
	R3=BP+3
	R4=R3	// QImode move
	R4=[R4]	// QImode move
	R2=R4|512
	R4=R1	// QImode move
	[R4]=R2	// QImode move
.debug
	.dw '.stabn 0x44,0,380,',0,0
	.dd LM244-_Robot_DanceAgain
	.dw 0x0d,0x0a
.code
LM244:
	R2=BP	// QImode move
	R1=BP+1
	R2=BP	// QImode move
	R3=BP+1
	R2=R3	// QImode move
	R2=[R2]	// QImode move
	R4=R2|512
	R2=R1	// QImode move
	[R2]=R4	// QImode move
.debug
	.dw '.stabn 0x44,0,382,',0,0
	.dd LM245-_Robot_DanceAgain
	.dw 0x0d,0x0a
.code
LM245:
	R1=BP	// QImode move
	R2=BP+2
	R3=R2	// QImode move
	R1=[R3]	// QImode move
	[28679]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,383,',0,0
	.dd LM246-_Robot_DanceAgain
	.dw 0x0d,0x0a
.code
LM246:
	R1=BP	// QImode move
	R2=BP+3
	R4=R2	// QImode move
	R1=[R4]	// QImode move
	[28680]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,384,',0,0
	.dd LM247-_Robot_DanceAgain
	.dw 0x0d,0x0a
.code
LM247:
	R1=BP	// QImode move
	R2=BP+1
	R3=R2	// QImode move
	R1=[R3]	// QImode move
	[28677]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,386,',0,0
	.dd LM248-_Robot_DanceAgain
	.dw 0x0d,0x0a
.code
LM248:
	R1=42	// QImode move
	[SP--]=R1	// QImode move
	call _PlaySnd	// call without return value
	SP = SP + 1	//SP
.debug
	.dw '.stabn 0x44,0,387,',0,0
	.dd LM249-_Robot_DanceAgain
	.dw 0x0d,0x0a
.code
LM249:
	call _RobotSystemInit	// call without return value
.debug
	.dw '.stabn 0x44,0,244,',0,0
	.dd LM250-_Robot_DanceAgain
	.dw 0x0d,0x0a
.code
LM250:
L87:
	R1=[BP]	// QImode move
	R2=R1+1
	[BP]=R2	// QImode move
	pc=L85	// Indirect jump
L86:
.debug
	.dw '.stabn 0x44,0,389,',0,0
	.dd LM251-_Robot_DanceAgain
	.dw 0x0d,0x0a
.code
LM251:
	call _RobotSystemInit	// call without return value
.debug
	.dw '.stabn 0x44,0,390,',0,0
	.dd LM252-_Robot_DanceAgain
	.dw 0x0d,0x0a
.code
LM252:
LBE7:
.debug
	.dw '.stabn 0x44,0,390,',0,0
	.dd LM253-_Robot_DanceAgain
	.dw 0x0d,0x0a
.code
LM253:
L84:

	sp+=5
	pop bp from [sp]
	retf
	.endp	// end of Robot_DanceAgain

.debug
	.dw '.stabs "n:p4",160,0,0,8',0x0d,0x0a
.CODE
.debug
	.dw '.stabn 0xc0,0,0,',0,0
	.dd LBB7-_Robot_DanceAgain
	.dw 0x0d,0x0a
.code
.debug
	.dw '.stabs "uiCount:4",128,0,0,0',0x0d,0x0a
.CODE
.debug
	.dw '.stabs "uiP_IOB_Data:4",128,0,0,1',0x0d,0x0a
.CODE
.debug
	.dw '.stabs "uiP_IOB_Dir:4",128,0,0,2',0x0d,0x0a
.CODE
.debug
	.dw '.stabs "uiP_IOB_Attrib:4",128,0,0,3',0x0d,0x0a
.CODE
.debug
	.dw '.stabn 0xe0,0,0,',0,0
	.dd LBE7-_Robot_DanceAgain
	.dw 0x0d,0x0a
.code
.debug
	.dw '.stabf ',0,0
	.dd LME10-_Robot_DanceAgain
	.dw 0x0d,0x0a
.code
LME10:
.code
.debug
	.dw '.stabs "Robot_Dance:F19",36,0,0,',0,0,offset _Robot_Dance,seg _Robot_Dance,0x0d,0x0a
.CODE
.public _Robot_Dance
_Robot_Dance:	.proc
.debug
	.dw '.stabn 0x44,0,393,',0,0
	.dd LM254-_Robot_Dance
	.dw 0x0d,0x0a
.code
LM254:
	// total=2, vars=2
	// frame_pointer_needed: 1
	push bp to [sp]
	sp-=2
	bp=sp+1

	R1=BP+5
	[bp+1]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,394,',0,0
	.dd LM255-_Robot_Dance
	.dw 0x0d,0x0a
.code
LM255:
LBB8:
.debug
	.dw '.stabn 0x44,0,396,',0,0
	.dd LM256-_Robot_Dance
	.dw 0x0d,0x0a
.code
LM256:
	R1=1	// QImode move
	[28690]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,398,',0,0
	.dd LM257-_Robot_Dance
	.dw 0x0d,0x0a
.code
LM257:
	R1=0	// QImode move
	[BP]=R1	// QImode move
L91:
	R1=[BP]	// QImode move
	R2=[bp+1]	// QImode move
	CMP R1,[R2]	// QImode compare
	NSJB L94	//QImode LTU
	pc=L92	// Indirect jump
L94:
.debug
	.dw '.stabn 0x44,0,400,',0,0
	.dd LM258-_Robot_Dance
	.dw 0x0d,0x0a
.code
LM258:
	R1=1	// QImode move
	[SP--]=R1	// QImode move
	R1=1	// QImode move
	[SP--]=R1	// QImode move
	R1=1	// QImode move
	[SP--]=R1	// QImode move
	R1=1	// QImode move
	[SP--]=R1	// QImode move
	R1=11	// QImode move
	[SP--]=R1	// QImode move
	call _Set_IOB_Bit	// call without return value
	SP = SP + 5	//SP
.debug
	.dw '.stabn 0x44,0,401,',0,0
	.dd LM259-_Robot_Dance
	.dw 0x0d,0x0a
.code
LM259:
	R1=26	// QImode move
	[SP--]=R1	// QImode move
	call _PlaySnd	// call without return value
	SP = SP + 1	//SP
.debug
	.dw '.stabn 0x44,0,402,',0,0
	.dd LM260-_Robot_Dance
	.dw 0x0d,0x0a
.code
LM260:
	R1=0	// QImode move
	[SP--]=R1	// QImode move
	R1=0	// QImode move
	[SP--]=R1	// QImode move
	R1=1	// QImode move
	[SP--]=R1	// QImode move
	R1=1	// QImode move
	[SP--]=R1	// QImode move
	R1=11	// QImode move
	[SP--]=R1	// QImode move
	call _Set_IOB_Bit	// call without return value
	SP = SP + 5	//SP
.debug
	.dw '.stabn 0x44,0,403,',0,0
	.dd LM261-_Robot_Dance
	.dw 0x0d,0x0a
.code
LM261:
	R1=1	// QImode move
	[SP--]=R1	// QImode move
	R1=1	// QImode move
	[SP--]=R1	// QImode move
	R1=1	// QImode move
	[SP--]=R1	// QImode move
	R1=1	// QImode move
	[SP--]=R1	// QImode move
	R1=9	// QImode move
	[SP--]=R1	// QImode move
	call _Set_IOB_Bit	// call without return value
	SP = SP + 5	//SP
.debug
	.dw '.stabn 0x44,0,404,',0,0
	.dd LM262-_Robot_Dance
	.dw 0x0d,0x0a
.code
LM262:
	R1=1	// QImode move
	[28690]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,405,',0,0
	.dd LM263-_Robot_Dance
	.dw 0x0d,0x0a
.code
LM263:
	R1=27	// QImode move
	[SP--]=R1	// QImode move
	call _PlaySnd	// call without return value
	SP = SP + 1	//SP
.debug
	.dw '.stabn 0x44,0,406,',0,0
	.dd LM264-_Robot_Dance
	.dw 0x0d,0x0a
.code
LM264:
	R1=0	// QImode move
	[SP--]=R1	// QImode move
	R1=0	// QImode move
	[SP--]=R1	// QImode move
	R1=1	// QImode move
	[SP--]=R1	// QImode move
	R1=1	// QImode move
	[SP--]=R1	// QImode move
	R1=9	// QImode move
	[SP--]=R1	// QImode move
	call _Set_IOB_Bit	// call without return value
	SP = SP + 5	//SP
.debug
	.dw '.stabn 0x44,0,407,',0,0
	.dd LM265-_Robot_Dance
	.dw 0x0d,0x0a
.code
LM265:
	R1=1	// QImode move
	[SP--]=R1	// QImode move
	R1=1	// QImode move
	[SP--]=R1	// QImode move
	R1=1	// QImode move
	[SP--]=R1	// QImode move
	R1=1	// QImode move
	[SP--]=R1	// QImode move
	R1=11	// QImode move
	[SP--]=R1	// QImode move
	call _Set_IOB_Bit	// call without return value
	SP = SP + 5	//SP
.debug
	.dw '.stabn 0x44,0,408,',0,0
	.dd LM266-_Robot_Dance
	.dw 0x0d,0x0a
.code
LM266:
	R1=1	// QImode move
	[SP--]=R1	// QImode move
	R1=1	// QImode move
	[SP--]=R1	// QImode move
	R1=1	// QImode move
	[SP--]=R1	// QImode move
	R1=1	// QImode move
	[SP--]=R1	// QImode move
	R1=9	// QImode move
	[SP--]=R1	// QImode move
	call _Set_IOB_Bit	// call without return value
	SP = SP + 5	//SP
.debug
	.dw '.stabn 0x44,0,409,',0,0
	.dd LM267-_Robot_Dance
	.dw 0x0d,0x0a
.code
LM267:
	R1=1	// QImode move
	[28690]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,410,',0,0
	.dd LM268-_Robot_Dance
	.dw 0x0d,0x0a
.code
LM268:
	R1=28	// QImode move
	[SP--]=R1	// QImode move
	call _PlaySnd	// call without return value
	SP = SP + 1	//SP
.debug
	.dw '.stabn 0x44,0,411,',0,0
	.dd LM269-_Robot_Dance
	.dw 0x0d,0x0a
.code
LM269:
	R1=0	// QImode move
	[SP--]=R1	// QImode move
	R1=0	// QImode move
	[SP--]=R1	// QImode move
	R1=1	// QImode move
	[SP--]=R1	// QImode move
	R1=1	// QImode move
	[SP--]=R1	// QImode move
	R1=11	// QImode move
	[SP--]=R1	// QImode move
	call _Set_IOB_Bit	// call without return value
	SP = SP + 5	//SP
.debug
	.dw '.stabn 0x44,0,412,',0,0
	.dd LM270-_Robot_Dance
	.dw 0x0d,0x0a
.code
LM270:
	R1=0	// QImode move
	[SP--]=R1	// QImode move
	R1=0	// Q

⌨️ 快捷键说明

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