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

📄 chap.1.introduction.ps

📁 嵌入开发笔记 用ps阅读器打开
💻 PS
📖 第 1 页 / 共 2 页
字号:
2367(this)X2541(microwave)X3004(oven)X3227(is)X3327(illustrated)X3749(in)X3860(Figure)X4147(1.2.)X576 3114(However,)N981(it)X1064(is)X1157(clear)X1374(that)X1548(the)X1695(software)X2055(is)X2148(not)X2300(the)X2447(kind)X2647(of)X2755(program)X3109(you)X3281(are)X3427(probably)X3797(used)X4001(to)X4104(writ-)X576 3226(ing)N729(and)X898(executing)X1303(on)X1429(a)X1502(computer.)X1920(For)X2083(one)X2252(thing,)X2504(as)X2614(a)X2687(user)X2877(of)X2987(a)X3061(microwave,)X3544(you)X3719(don't)X3953(typically)X576 3338(have)N789(to)X895(``compile'')X1364(the)X1512(program)X1868(before)X2144(blasting)X2479(your)X2685(bagel.)X2948(The)X3128(program)X3484(is)X3578(compiled)X3967(and)X4136(per-)X576 3450(manently)N960(``burned)X1316(in'')X1480(to)X1580(the)X1724(memory)X2071(of)X2177(the)X2321(microwave's)X2844(computer.)X3282(In)X3388(this)X3553(kind)X3750(of)X3856(system,)X4173(the)X576 3562(software)N939(is)X1035(obviously)X1446(an)X1569 0.1815(intrinsically-embedded)AX2490(component)X2950(of)X3062(the)X3212(system's)X3580(design.)X3887(Therefore,)X576 3674(we)N720(refer)X934(to)X1041(this)X1213(kind)X1417(of)X1530(system)X1830(as)X1943(an)X3 f2067(embedded)X1 f2521(system)X2821(because)X3159(the)X3310(software)X3674(is)X3771(an)X3895(embedded)X576 3786(component)N1050(of)X1176(the)X1340(system.)X1701(In)X1827(this)X2012(segment)X2379(of)X2505(the)X2669(course,)X2990(our)X3164(focus)X3417(is)X3526(mainly)X3839(on)X3980(creating)X576 3898(software)N932(for)X1069(such)X1270(embedded)X1692(systems,)X2046(and)X2211(also)X2392(on)X2514(understanding)X3085(the)X3229(interfacing)X3673(of)X3779(various)X4088(types)X576 4010(of)N680(hardware)X1062(devices)X1375(to)X1474(a)X1541(computer.)X3 f576 4234(1.3.)N768(Microprocessor)X1439(Instruction)X1921(Sets)X2110(and)X2288(Programming)X1 f776 4374(This)N976(brings)X1245(us)X1359(to)X1463(the)X1610(second)X1906(goal.)X2125(In)X2234(order)X2466(to)X2571(effectively)X3014(design)X3295(or)X3405(``engineer'')X3895(embedded)X576 4486(systems,)N931(we)X1070(need)X1279(to)X1381(be)X1499(able)X1687(to)X1788(program)X2140(these)X2364(systems)X2694(at)X2790(a)X2859(level)X3073(typically)X3437(considered)X3880(lower)X4125(than)X576 4598(a)N650(language)X1029(such)X1236(as)X1347(C,)X1466(PASCAL,)X1889(or)X2001(FORTRAN.)X2504(Therefore,)X2964(some)X3199(effort)X3445(will)X3627(be)X3750(made)X3991(to)X4098(learn)X576 4710(the)N720(language)X1094(understood)X1547(by)X1669(the)X1812(microprocessor)X2430(itself.)X2672(While)X2933(usually)X3236(considered)X3678(somewhat)X4093(pain-)X576 4822(ful,)N731(learning)X3 f1071(machine)X1442(language)X1 f1810(,)X1858(or)X3 f1962(assembly)X2359(language)X1 f2751(will)X2925(prove)X3168(rewarding.)X3 p%%Page: 3 412 s 0 xH 0 xS 1 f3 f576 400(57:017)N872(CIE)X1 f2353(-)X2409(3)X2481(-)X3 f3717(Lecture)X4062(Notes)X1 f9 s1866 1872 MXY126 69 De1779 MX299 184 De1555 2189 MXY0 -921 Dl1152 0 Dl0 921 Dl-1152 0 Dl2246 1268 MXY0 921 Dl1613 MY460 0 Dl2044 1181 MXY0 -201 Dl547 0 Dl0 201 Dl-547 0 Dl1555 1268 MXY460 -432 Dl1296 0 Dl0 921 Dl-604 432 Dl1268 MY19 -13 Dl2743 1242 MXY19 -13 Dl2780 1215 MXY19 -13 Dl2817 1189 MXY19 -13 Dl2853 1163 MXY19 -13 Dl2890 1137 MXY19 -13 Dl2927 1110 MXY19 -13 Dl2963 1084 MXY19 -13 Dl3000 1058 MXY19 -13 Dl3036 1032 MXY19 -13 Dl3073 1006 MXY19 -13 Dl3109 980 MXY19 -13 Dl3146 954 MXY19 -13 Dl3183 928 MXY19 -13 Dl3219 901 MXY19 -13 Dl3256 875 MXY19 -13 Dl3292 849 MXY19 -13 Dl2649 1052 MXY-57 14 Dl2649 1080 MXY-57 -14 Dl2591 MX460 0 Dl3052 MX0 230 Dl3038 1239 MXY14 57 Dl3067 1239 MXY-14 57 Dl2851 1757 MXY0 -460 Dl1296 MY432 0 Dl0 460 Dl1757 MY-432 0 Dl1700 MY-230 0 Dl2678 1685 MXY-57 14 Dl2678 1714 MXY-57 -14 Dl2620 1469 MXY230 0 Dl2793 1484 MXY57 -14 Dl2793 1455 MXY57 14 Dl2044 1095 MXY547 0 Dl1641 2132 MXY0 -777 Dl1354 MY547 0 Dl0 777 Dl2132 MY-547 0 Dl1785 1872 MXYD~  -28 57 28 28 0 28 57 28 57 0 57 0 28 0 57 -28 28 0 0 0 28 -28 0 -28 0 -28 0 -28 -28 -28 0 0 D~~2361 1382(Chef)N2361 1474(Panel)N2361 1578(Control)N2361 1855(Microwave)N12 s1756 2328(Microwave)N2218(Oven)X11 s2908 1470(Micro-)N2908 1589(Processor)N2159 1065(Memory)N8 s2102 1157(Control)N2314(Program)X9 s1699 1755(Bagel)N2361 1987(Generator)N3 f12 s1731 2541(Figure)N2028(1.2.)X2196(Some)X2444(Components)X2984(of)X3088(a)X1610 2653(Computer-Controlled)N2530(Microwave)X3014(Oven.)X576 2813(1.4.)N768(Basic)X1011(Computer)X1456(Organization)X1 f776 2953(One)N978(of)X1100(the)X1260(rewards)X1606(of)X1728(being)X1984(exposed)X2341(to)X2458(assembly)X2858(or)X2980(machine)X3349(language)X3739(is)X3845(that)X4033(all)X4173(the)X576 3065(``smoke)N920(and)X1088(mirrors'')X1464(of)X1573(computers)X2003(will)X2182(be)X2302(stripped)X2641(away.)X2897(What)X3135(is)X3227(meant)X3491(by)X3615(``smoke)X3958(and)X4125(mir-)X576 3177(rors'')N817(are)X963(things)X1226(like)X1399(operating)X1791(systems)X2123(and)X2290(compilers.)X2746(You)X2939(may)X3133(come)X3370(to)X3473(hold)X3672(a)X3743(new)X3932(apprecia-)X576 3289(tion)N764(of)X882(these)X1117(useful)X1389(``luxuries'')X1864(by)X1997(the)X2152(time)X2361(we)X2510(reach)X2756(the)X2911(third)X3130(lab)X3285(experiment.)X3780(Our)X3966(study)X4211(of)X576 3401(microprocessor)N1193(programming)X1741(will)X1915(be)X2030(done)X2241(within)X2511(the)X2653(context)X2961(of)X3065(the)X3207(C)X3295(language.)X776 3541(The)N2 f959(advantage)X1 f1393(\(remember,)X1873(I)X1938(said)X2126(there)X2352(was)X2534(an)X2658(advantage\))X3114(of)X3227(getting)X3529(to)X3638(this)X3811(low)X3989(level)X4211(of)X576 3653(understanding)N1151(is)X1245(that)X1420(it)X1504(will)X1684(allow)X1928(us)X2043(to)X2148(explore)X2466(aspects)X2773(of)X2882(the)X3029(design)X3309(of)X3418(the)X3565(microprocessor,)X4211(or)X576 3765(CPU,)N817(itself.)X1089(This)X1291(topic)X1515(is)X1610(alternately)X2049(called)X3 f2311(Computer)X2764(Organization)X1 f3341(or)X3 f3453(Computer)X3906(Architec-)X576 3877(ture)N1 f747(.)X799(To)X934(give)X1128(a)X1199(\257avor)X1451(of)X1559(what)X1774(we)X1914(may)X2108(delve)X2345(into,)X2547(consider)X2901(Figure)X3180(1.3.)X3352(Here,)X3590(we)X3729(have)X3938(modestly)X576 3989(expanded)N981(our)X1145(description)X1609(of)X1725(the)X1879(block)X2129(labeled)X2444(``CPU)X2730(or)X2846(Microprocessor'')X3549(from)X3772(Figure)X4059(1.1)X4216(to)X576 4101(show)N809(the)X958(basic)X1187(components)X1683(of)X1794(the)X3 f1943(Von)X2144(Neumann)X1 f2574(architecture.)X3085(This)X3286(structural)X3680(description)X4138(of)X4248(a)X576 4213(computer)N964(consists)X1292(of)X1396(the)X1538(following)X2 f1936(four)X2120(basic)X2347(blocks)X1 f2593(:)X776 4353(1.)N3 f920(The)X1104(Data)X1325(Path)X1 f1517(.)X1565(Also)X1771(sometimes)X2208(called)X2464(the)X2607(Arithmetic)X3050(and)X3214(Logic)X3464(Unit)X3660(or)X3765(ALU)X9 s4003 4315(1)N12 s4047 4353(.)N4120(This)X920 4465(component)N1383(basically)X1761(performs)X2143(data)X2339(transformations)X2978(\(like)X3189(adding)X3485(and)X3658(subtracting\))X4152(and)X920 4577(provides)N1295(the)X1457(pathways)X1864(for)X2020(routing)X2343(data)X2549(to)X2669(\(from\))X2965(the)X3128(ALU,)X3394(and)X3578(from)X3810(\(to\))X3994(a)X4082(small)X920 4689(amount)N1234(of)X1339(temporary)X1760(storage)X2063(contained)X2463(in)X2563(the)X2706(Data)X2912(Path.)X3131(This)X3326(temporary)X3746(storage)X4048(is)X4136(typ-)X920 4801(ically)N1159(called)X3 f1414(registers)X1 f1767(.)X776 4941(2.)N3 f920(Control)X1278(Unit)X1 f1459(.)X1522(This)X1732(is)X1835(the)X1992(component)X2459(that)X2643(decides)X2 f2971(what)X1 f3197(and)X2 f3375(when)X1 f3617(to)X3731(do)X3866(something.)X920 5053(Many)N1184(textbooks)X1598(like)X1783(to)X1898(call)X2077(this)X2255(a)X2337(``brain''.)X2726(I)X2797(personally)X3237(prefer)X3506(to)X3620(reserve)X3937(the)X4094(word)X920 5165(brain)N1151(for)X1296(humans,)X1652(but)X1808(is)X1905(may)X2104(be)X2228(useful)X2496(to)X2604(think)X2835(of)X2948(the)X3099(Data)X3314(Path)X3518(as)X3632(muscles,)X4000(and)X4173(the)X920 5277(Control)N1245(Unit)X1447(as)X1558(the)X1707(brain)X1936(which)X2202(instructs)X2559(the)X2708(muscles)X2 f3049(when)X1 f3283(to)X3389(act,)X3557(and)X3726(precisely)X2 f4104(what)X1 f920 5389(actions)N1217(to)X1316(carry)X1538(out.)X10 s10 f576 5485(h)N592(hhhhhhhhhhhhhh)X1 f576 5581(Technically,)N1006(the)X1135(ALU)X1331(is)X1415(the)X1544(component)X1931(of)X2029(the)X2158(Data)X2341(Path)X2514(which)X2741(only)X2914(does)X3092(the)X3221(transformations.)X576 5677(Data)N748(Path)X910(is)X983(the)X1101(term)X1268(used)X1435(to)X1517(include)X1773(the)X1891(registers,)X2203(routing)X2454(channels,)X2775(and)X2911(the)X3029(ALU.)X4 p%%Page: 4 510 s 0 xH 0 xS 1 f12 s3 f576 400(57:017)N872(CIE)X1 f2353(-)X2409(4)X2481(-)X3 f3717(Lecture)X4062(Notes)X1 f776 803(3.)N3 f920(Memory)X1 f1273(.)X1321(This)X1516(is)X1604(the)X1746(same)X1968(as)X2072(in)X2171(Figure)X2446(1.1.)X776 943(4.)N3 f920(Input/Output)X1 f1473(.)X1521(This)X1716(is)X1804(the)X1946(same)X2168(as)X2272(in)X2371(Figure)X2646(1.1.)X9 s1440 1865 MXY57 -57 Dl1440 1865 MXY57 57 Dl1785 1923 MXY57 -57 Dl1785 1808 MXY57 57 Dl1469 1836 MXY345 0 Dl1469 1894 MXY345 0 Dl3024 1865 MXY57 -57 Dl3024 1865 MXY57 57 Dl3369 1923 MXY57 -57 Dl3369 1808 MXY57 57 Dl3053 1836 MXY345 0 Dl3053 1894 MXY345 0 Dl893 2326 MXY0 -921 Dl1404 MY547 0 Dl0 921 Dl2326 MY-547 0 Dl1843 2643 MXY0 -1555 Dl1180 0 Dl3024 MX0 1555 Dl-1180 0 Dl893 1865 MXY547 0 Dl3427 2326 MXY0 -921 Dl1404 MY547 0 Dl0 921 Dl2326 MY-547 0 Dl2131 2499 MXY0 -518 Dl1980 MY633 0 Dl2765 MX0 518 Dl2499 MY-633 0 Dl2131 1779 MXY0 -518 Dl1260 MY633 0 Dl2765 MX0 518 Dl1779 MY-633 0 Dl2275 1980 MXY0 -201 Dl2289 1836 MXY-14 -57 Dl2261 1836 MXY14 -57 Dl2361 1980 MXY0 -201 Dl2376 1836 MXY-14 -57 Dl2347 1836 MXY14 -57 Dl2448 1980 MXY0 -201 Dl2462 1836 MXY-14 -57 Dl2433 1836 MXY14 -57 Dl2649 1980 MXY0 -201 Dl2664 1836 MXY-14 -57 Dl2635 1836 MXY14 -57 Dl1843 1750 MXY288 -144 Dl2086 1644 MXY44 -38 Dl2073 1619 MXY58 -12 Dl1664 MY0 0 Dl-288 144 Dl1888 1769 MXY-44 38 Dl1901 1795 MXY-58 12 Dl2765 1577 MXY259 172 Dl2968 1730 MXY55 20 Dl2984 1706 MXY39 43 Dl3024 1808 MXY-259 -172 Dl2820 1655 MXY-55 -20 Dl2804 1678 MXY-39 -43 Dl12 s1037 2131(Output)N1065 1663(Input)N3542 1894(Memory)N9 s1584 1812(Bus)N3197 1807(Bus)N12 s2304 1428(Data)N2510(Path)X2419 1560(or)N2361 1715(ALU)N2217 2268(Control)N2535(Unit)X2505 1894(.)N2553(.)X2601(.)X3 f1505 2870(Figure)N1802(1.3.)X1970(The)X2154(Basic)X2397(Von)X2591(Neumann)X3014(Architecture.)X5 p%%Trailerxtxs

⌨️ 快捷键说明

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