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

📄 as.9

📁 Unix操作系统minix 2.0源码
💻 9
📖 第 1 页 / 共 3 页
字号:
4005(from)S4271(source)S6387 V1116(lea)S1800(reg,source)S3096(!)S3167(Load)S3445(effect)S3753(address)S4146(of)S4277(source)S4623(to)S4747(reg)S4932(and)S5136(DS)S6525 V1116({cdsefg}seg)S3096(!)S3167(Specify)S3567(seg)S3758(register)S4153(for)S4325(next)S4563(instruction)S6663 V1116(a16)S3096(!)S3167(Use)S3386(16)S3536(bit)S3694(addressing)S4241(mode)S4539(instead)S4912(of)S5043(32)S5193(bit)S6939 V12 B936(Flag)S1194(Transfer)S7146 V12 R1116(lahf)S3096(!)S3167(Load)S3445(AH)S3651(from)S3917(\257ag)S4128(register)S8427 VEP%%Page: 3 3BP/slant 0 def/height 0 def1130 V10 R936(SEC.)S1196(.1)S2424(AS\320ASSEMBLER)S3272([IBM])S12 B4958(3)S1380 V12 R(popf)221 1116 A3096(!)S3167(Pop)S3384(\257ags)S1518 V1116(pushf)S3096(!)S3167(Push)S3431(\257ags)S1656 V1116(sahf)S3096(!)S3167(Store)S3453(AH)S3659(in)S3783(\257ag)S3994(register)S1932 V12 B936(Addition)S2139 V12 R(aaa)162 1116 A3096(!)S3167(Adjust)S3520(result)S3820(of)S3951(BCD)S(addition)396 4229 A2277 V1116(add[b])S1800(dest,source)S3096(!)S3167(Add)S2415 V1116(adc[b])S1800(dest,source)S3096(!)S3167(Add)S3405(with)S3651(carry)S2553 V1116(daa)S3096(!)S3167(Decimal)S3609(Adjust)S3962(after)S(addition)396 4216 A2691 V1116(inc[b])S1800(dest)S3096(!)S3167(Increment)S3689(by)S3839(1)S2967 V12 B(Subtraction)612 936 A3174 V12 R1116(aas)S3096(!)S3167(Adjust)S3520(result)S3820(of)S3951(BCD)S4229(subtraction)S3312 V1116(sub[b])S1800(dest,source)S3096(!)S3167(Subtract)S3450 V1116(sbb[b])S1800(dest,source)S3096(!)S3167(Subtract)S3601(with)S3847(borrow)S4227(from)S4493(dest)S3588 V1116(das)S3096(!)S3167(Decimal)S3609(adjust)S3928(after)S4182(subtraction)S3726 V1116(dec[b])S1800(dest)S3096(!)S3167(Decrement)S3730(by)S3880(one)S3864 V1116(neg[b])S1800(dest)S3096(!)S3167(Negate)S4002 V1116(cmp[b])S1800(dest,source)S3096(!)S3167(Compare)S4278 V12 B936(Multiplication)S4485 V12 R1116(aam)S3096(!)S3167(Adjust)S3520(result)S3820(of)S3951(BCD)S(multiply)410 4229 A4623 V1116(imul[b])S1800(source)S3096(!)S3167(Signed)S(multiply)410 3532 A4761 V1116(mul[b])S1800(source)S3096(!)S3167(Unsigned)S(multiply)410 3660 A5037 V12 B936(Division)S5244 V12 R1116(aad)S3096(!)S3167(Adjust)S3520(AX)S3726(for)S3898(BCD)S4176(division)S5382 V(o16)180 1116 A1326(cbw)S3096(!)S3167(Sign)S3418(extend)S3770(AL)S3962(into)S4180(AH)S5520 V(o16)180 1116 A1326(cwd)S3096(!)S3167(Sign)S3418(extend)S3770(AX)S3976(into)S4194(DX)S5658 V1116(cwde)S3096(!)S3167(Sign)S3418(extend)S3770(AX)S3976(into)S4194(EAX)S5796 V1116(cdq)S3096(!)S3167(Sign)S3418(extend)S3770(EAX)S4050(into)S4268(EDX)S5934 V1116(idiv[b])S1800(source)S3096(!)S3167(Signed)S3532(divide)S6072 V1116(div[b])S1800(source)S3096(!)S3167(Unsigned)S3660(divide)S6348 V12 B936(Logical)S6555 V12 R1116(and[b])S1800(dest,source)S3096(!)S3167(Logical)S3567(and)S6693 V1116(not[b])S1800(dest)S3096(!)S3167(Logical)S3567(not)S6831 V1116(or[b])S1800(dest,source)S3096(!)S3167(Logical)S3567(inclusive)S4034(or)S6969 V1116(test[b])S1800(dest,source)S3096(!)S3167(Logical)S3567(test)S7107 V1116(xor[b])S1800(dest,source)S3096(!)S3167(Logical)S3567(exclusive)S4054(or)S8427 VEP%%Page: 4 4BP/slant 0 def/height 0 def1130 V12 B936(4)S1380 V936(Shift)S1587 V12 R1116(sal[b]/shl[b])S1800(dest,CL)S3096(!)S3167(Shift)S3433(logical)S3793(left)S1725 V1116(sar[b])S1800(dest,CL)S3096(!)S3167(Shift)S3433(arithmetic)S3956(right)S1863 V1116(shr[b])S1800(dest,CL)S3096(!)S3167(Shift)S3433(logical)S3793(right)S2139 V12 B936(Rotate)S2346 V12 R1116(rcl[b])S1800(dest,CL)S3096(!)S3167(Rotate)S3513(left,)S3736(with)S3982(carry)S2484 V1116(rcr[b])S1800(dest,CL)S3096(!)S3167(Rotate)S3513(right,)S3802(with)S4048(carry)S2622 V1116(rol[b])S1800(dest,CL)S3096(!)S3167(Rotate)S3513(left)S2760 V1116(ror[b])S1800(dest,CL)S3096(!)S3167(Rotate)S3513(right)S3036 V12 B936(String)S1289(Manipulation)S3243 V12 R1116(cmps[b])S3096(!)S3167(Compare)S3640(string)S3946(element)S4360(ds:esi)S4666(with)S4912(es:edi)S3381 V1116(lods[b])S3096(!)S3167(Load)S3445(from)S3711(ds:esi)S4017(into)S4235(AL,)S4457(AX,)S4693(or)S4824(EAX)S3519 V1116(movs[b])S3096(!)S3167(Move)S3478(from)S3744(ds:esi)S4050(to)S4174(es:edi)S3657 V1116(rep)S3096(!)S3167(Repeat)S3533(next)S3771(instruction)S(until)222 4319 A4571(ECX=0)S3795 V1116(repe/repz)S3096(!)S3167(Repeat)S3533(next)S3771(instruction)S(until)222 4319 A4571(ECX=0)S4971(and)S5175(ZF=1)S3933 V1116(repne/repnz)S3096(!)S3167(Repeat)S3533(next)S3771(instruction)S(until)222 4319 A4571(ECX!=0)S5012(and)S5216(ZF=0)S4071 V1116(scas[b])S3096(!)S3167(Compare)S3640(ds:esi)S3946(with)S4192(AL/AX/EAX)S4209 V1116(stos[b])S3096(!)S3167(Store)S3453(AL/AX/EAX)S4139(in)S4263(es:edi)S4485 V12 B936(Control)S1370(Transfer)S4659 V12 I1116(As)S12 R(accepts)357 1275 A1671(a)S1764(number)S2172(of)S2312(special)S2688(jump)S2975(opcodes)S3409(that)S3630(can)S3837(assemble)S4320(to)S4453(instructions)S4797 V936(with)S1202(either)S1529(a)S1633(byte)S(displacement,)669 1891 A2610(which)S2956(can)S3174(only)S(reach)263 3438 A3751(to)S3895(targets)S4269(within)S12 Y4629(-)S12 R(126)180 4695 A4924(to)S4935 V(+129)248 936 A1219(bytes)S1509(of)S1645(the)S1828(branch,)S2222(or)S2358(an)S2507(instruction)S3060(with)S3311(a)S3400(32-bit)S(displacement.)669 3724 A4458(The)S4681(assem-)S5073 V936(bler)S1155(automatically)S(chooses)382 1845 A2257(a)S2341(byte)S2579(or)S2710(word)S(displacement)639 2989 A3658(instruction.)S5247 V1116(The)S1353(English)S1771(translation)S2332(of)S2482(the)S2679(opcodes)S(should)321 3124 A3495(be)S(obvious,)411 3659 A4120(with)S4386(`)S4417(`l\(ess\)')S4753(')S4844(and)S5385 V936(`)S(`g\(reater\)')502 967 A1459(')S1583(for)S1808(signed)S2206(comparisions,)S2964(and)S3221(`)S3252(`b\(elow\)')S3702(')S3826(and)S4083(`)S(`a\(bove\)*\(CQ)680 4114 A4876(for)S5523 V936(unsigned)S1408(comparisions.)S2150(There)S2470(are)S2656(lots)S2868(of)S(synonyms)488 3006 A3531(to)S3662(allow)S(you)180 3969 A4187(to)S4319(write)S4608("jump)S4943(if)S5661 V936(not)S1120(that")S1381(instead)S1754(of)S1885("jump)S2212(if)S2317(this".)S5835 V1116(The)S1344(`)S1375(`call')S1623(',)S1734(`)S1765(`jmp')S2025(',)S2136(and)S2350(`)S2381(`ret')S2582(')S2663(instructions)S3268(can)S3476(be)S3630(either)S3947(intrasegment)S4613(or)S4754(inter-)S5973 V936(segment.)S1429(The)S1647(intersegment)S2303(versions)S2736(are)S2915(indicated)S3389(with)S3635(the)S3813(suf\256x)S4118(`)S(`f')123 4149 A4262('.)S6249 V12 B936(Unconditional)S6456 V12 R(jmp[f])311 1116 A1800(dest)S3096(!)S3167(jump)S3445(to)S3569(dest)S3794(\(8)S3925(or)S4056(32-bit)S(displacement\))680 4375 A6594 V(call[f])299 1116 A1800(dest)S3096(!)S3167(call)S3373(procedure)S6732 V(ret[f])252 1116 A3096(!)S3167(return)S3487(from)S3753(procedure)S7008 V12 B936(Conditional)S8427 VEP%%Page: 5 5BP/slant 0 def/height 0 def1130 V10 R936(SEC.)S1196(.1)S2424(AS\320ASSEMBLER)S3272([IBM])S12 B4958(5)S1380 V12 R1116(ja/jnbe)S3096(!)S3167(if)S(above/not)476 3272 A3778(below)S4104(or)S4235(equal)S4527(\(unsigned\))S1518 V1116(jae/jnb/jnc)S3096(!)S3167(if)S(above)288 3272 A3590(or)S3721(equal/not)S4201(below/not)S4715(carry)S4995(\(uns.\))S1656 V1116(jb/jnae/jc)S3096(!)S3167(if)S3272(not)S(above)288 3456 A3774(nor)S3965(equal/below/carry)S4871(\(unsigned\))S1794 V1116(jbe/jna)S3096(!)S3167(if)S3272(below)S3598(or)S3729(equal/not)S(above)288 4209 A4527(\(unsigned\))S1932 V1116(jg/jnle)S3096(!)S3167(if)S3272(greater/not)S3828(less)S4040(nor)S4231(equal)S4523(\(signed\))S2070 V1116(jge/jnl)S3096(!)S3167(if)S3272(greater)S3640(or)S3771(equal/not)S4251(less)S4463(\(signed\))S2208 V(jl/jnqe)310 1116 A3096(!)S3167(if)S3272(less/not)S3672(greater)S4040(nor)S4231(equal)S4523(\(signed\))S2346 V1116(jle/jgl)S3096(!)S3167(if)S3272(less)S3484(or)S3615(equal/not)S4095(greater)S4463(\(signed\))S2484 V1116(je/jz)S3096(!)S3167(if)S3272(equal/zero)S2622 V1116(jne/jnz)S3096(!)S3167(if)S3272(not)S3456(equal/not)S3936(zero)S2760 V1116(jno)S3096(!)S3167(if)S3272(over\257ow)S3732(not)S3916(set)S2898 V1116(jo)S3096(!)S3167(if)S3272(over\257ow)S3732(set)S3036 V1116(jnp/jpo)S3096(!)S3167(if)S3272(parity)S3585(not)S3769(set/parity)S(odd)180 4251 A3174 V1116(jp/jpe)S3096(!)S3167(if)S3272(parity)S3585(set/parity)S4067(even)S3312 V1116(jns)S3096(!)S3167(if)S3272(sign)S3503(not)S3687(set)S3450 V1116(js)S3096(!)S3167(if)S3272(sign)S3503(set)S3726 V12 B936(Iteration)S1424(Control)S3933 V12 R1116(jcxz)S1800(dest)S3096(!)S3167(jump)S3445(if)S3550(ECX)S3822(=)S3920(0)S4071 V(loop)214 1116 A1800(dest)S3096(!)S3167(Decrement)S3730(ECX)S4002(and)S4206(jump)S4484(if)S4589(CX)S4787(!=)S4926(0)S4209 V(loope/loopz)570 1116 A1800(dest)S3096(!)S3167(Decrement)S3730(ECX)S4002(and)S4206(jump)S4484(if)S4589(ECX)S4861(=)S4959(0)S5049(and)S5253(ZF)S5424(=)S5522(1)S4347 V(loopne/loopnz)690 1116 A3096(dest!)S3362(Decrement)S3925(ECX)S4197(and)S4401(jump)S4679(if)S4784(ECX)S5056(!=)S5195(0)S5285(and)S5489(ZF)S5660(=)S5758(0)S4623 V12 B(Interrupt)492 936 A4830 V12 R1116(int)S1800(n)S3096(!)S3167(Software)S3636(interrupt)S4084(n)S4968 V1116(into)S3096(!)S3167(Interrupt)S3622(if)S3727(over\257ow)S4187(set)S5106 V1116(iretd)S3096(!)S3167(Return)S3526(from)S3792(interrupt)S5382 V12 B936(Flag)S1194(Operations)S5589 V12 R1116(clc)S3096(!)S3167(Clear)S3460(carry)S3740(\257ag)S5727 V1116(cld)S3096(!)S3167(Clear)S3460(direction)S3921(\257ag)S5865 V1116(cli)S3096(!)S3167(Clear)S3460(interrupt)S3908(enable)S4254(\257ag)S6003 V1116(cmc)S3096(!)S3167(Complement)S3821(carry)S4101(\257ag)S6141 V1116(stc)S3096(!)S3167(Set)S3352(carry)S3632(\257ag)S6279 V1116(std)S3096(!)S3167(Set)S3352(direction)S3813(\257ag)S6417 V1116(sti)S3096(!)S3167(Set)S3352(interrupt)S3800(enable)S4146(\257ag)S8427 VEP%%Page: 6 6BP/slant 0 def/height 0 def1130 V12 B936(6)S1380 V936(Location)S1422(Counter)S1692 V12 R1116(The)S1335(special)S1703(symbol)S2089(`)S2120(`.')S2222(')S2294(is)S2406(the)S2585(location)S(counter)363 3007 A3402(and)S3608(its)S3755(value)S4049(is)S4162(the)S4342(address)S4737(of)S4870(the)S1830 V936(\256rst)S1161(byte)S1405(of)S1541(the)S1724(instruction)S2277(in)S2406(which)S2737(the)S2920(symbol)S3310(appears)S3715(and)S3924(can)S4127(be)S4276(used)S4532(in)S4661(expres-)S1968 V936(sions.)S2244 V12 B936(Segments)S2556 V12 R1116(There)S1437(are)S1624(four)S1864(different)S2321(assembly)S2809(segments:)S3331(text,)S3581(rom,)S3844(data)S4084(and)S4296(bss.)S4548(Segments)S2694 V936(are)S1120(declared)S1566(and)S1775(selected)S2200(by)S2354(the)S12 I2536(.sect)S12 R(pseudo-op.)532 2789 A3385(It)S3494(is)S3609(customary)S4147(to)S4275(declare)S4660(all)S4816(seg-)S2832 V936(ments)S1255(at)S1373(the)S1551(top)S1735(of)S1866(an)S2010(assembly)S2490(\256le)S2675(like)S2887(this:)S3039 V1026(.sect)S1275(.text;)S1551(.sect)S1800(.rom;)S2089(.sect)S2338(.data;)S2634(.sect)S2883(.bss)S3246 V936(The)S1162(assembler)S(accepts)357 1685 A2080(up)S2238(to)S2370(16)S2528(different)S2985(segments,)S3503(but)S10 R3690(MINIX)S12 R4031(expects)S4432(only)S4684(four)S4924(to)S3384 V

⌨️ 快捷键说明

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