00406C0F |> 3C 03 CMP AL,3 //比较相克类型是否3
00406C11 |. 75 04 JNZ SHORT 00406C17
00406C13 |. B0 96 MOV AL,96 //是3则系数设为150
00406C15 |. EB 12 JMP SHORT 00406C29
00406C17 |> 3C 02 CMP AL,2 //相克类型是否2
00406C19 |. 75 04 JNZ SHORT 00406C1F
00406C1B |. B0 78 MOV AL,78 //是2设为120
00406C1D |. EB 0A JMP SHORT 00406C29
00406C1F |> 3C 01 CMP AL,1 //相克类型是否1
00406C21 |. 75 04 JNZ SHORT 00406C27
00406C23 |. B0 3C MOV AL,3C //是1设为60
00406C25 |. EB 02 JMP SHORT 00406C29
这段用查表法会不会更好一点,就是先在起始地址x处连续存着100 60 120 150(DB 64 3C 78 96),然后用MOV AL, [x+EAX]