- 注册时间
- 2007-6-4
- 最后登录
- 2008-12-15
④见习
- 积分
- 302
|
楼主 |
发表于 2007-6-7 02:02:47
|
显示全部楼层
感謝...大概了解了
關於1.TXT檔案裡面的"根據設定改變制御文字列內容"這邊小弟也看不懂程式碼
if %200=0 mov $300,"1,1":mov $301,"1,1P2,0P3,0P4,0P5,0":spstr "1,1"
if %200=25 mov $300,"2,1":mov $301,"1,0P2,1P3,0P4,0P5,0":spstr "2,1"
if %200=50 mov $300,"3,1":mov $301,"1,0P2,0P3,1P4,0P5,0":spstr "3,1"
if %200=75 mov $300,"4,1":mov $301,"P1,0P2,0P3,0P4,1P5,0":spstr "P4,1"
if %200=100 mov $300,"P5,1":mov $301,"P1,0P2,0P3,0P4,0P5,1":spstr "P5,1"
if %201=0 add $300,"P6,1":mov $302,"P6,1P7,0P8,0P9,0P10,0":spstr "P6,1"
if %201=25 add $300,"P7,1":mov $302,"P6,0P7,1P8,0P9,0P10,0":spstr "P7,1"
if %201=50 add $300,"P8,1":mov $302,"P6,0P7,0P8,1P9,0P10,0":spstr "P8,1"
if %201=75 add $300,"P9,1":mov $302,"P6,0P7,0P8,0P9,1P10,0":spstr "P9,1"
if %201=100 add $300,"P10,1":mov $302,"P6,0P7,0P8,0P9,0P10,1":spstr "P10,1"
if %202=0 add $300,"P11,1":mov $303,"P11,1P12,0P13,0P14,0P15,0":spstr "P11,1"
if %202=25 add $300,"P12,1":mov $303,"P11,0P12,1P13,0P14,0P15,0":spstr "P12,1"
if %202=50 add $300,"P13,1":mov $303,"P11,0P12,0P13,1P14,0P15,0":spstr "P13,1"
if %202=75 add $300,"P14,1":mov $303,"P11,0P12,0P13,0P14,1P15,0":spstr "P14,1"
if %202=100 add $300,"P15,1":mov $303,"P11,0P12,0P13,0P14,0P15,1":spstr "P15,1"
if %203=1 add $300,"P16,1":mov $304,"P16,1P17,0":spstr "P16,1"
if %203=0 add $300,"P17,1":mov $304,"P16,0P17,1":spstr "P17,1"
if %204=1 add $300,"P18,1":mov $305,"P18,1P19,0":spstr "P18,1"
if %204=0 add $300,"P19,1":mov $305,"P18,0P19,1":spstr "P19,1"
if %205=1 add $300,"P20,1":mov $306,"P20,1P21,0":spstr "P20,1"
if %205=0 add $300,"P21,1":mov $306,"P20,0P21,1":spstr "P21,1"
if %206=50 add $300,"P22,1":mov $307,"P22,1P23,0P24,0":spstr "P22,1"
if %206=30 add $300,"P23,1":mov $307,"P22,0P23,1P24,0":spstr "P23,1"
if %206=0 add $300,"P24,1":mov $307,"P22,0P23,0P24,1":spstr "P24,1"
vsp 49,1
return
MOV的用法....不是只有mov 數字變量,數字變量或計算式or"文字內容"
但是它怎麼會出現那麼長一串[s:3] |
|