home *** CD-ROM | disk | FTP | other *** search
/ APDL Public Domain 1 / APDL_PD1A.iso / comms / m_z / webster < prev    next >
ArcFS Archive  |  1995-09-30  |  329.4 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: ArcFS Archive (archive/arcFS).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert ArcFS Archive (archive/arcFS) magic Supported
100% file RISC OS archive (ArcFS format) default
99% file data default
100% TrID Acorn ArcFS Archive default
100% gt2 Kopftext: 'Archive' default (weak)
100% detectItEasy Archive: ArcFS default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 41 72 63 68 69 76 65 00 | f4 0b 00 00 94 0e 00 00 |Archive.|........|
|00000010| 28 00 00 00 64 00 00 00 | 00 00 00 00 00 00 00 00 |(...d...|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000050| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000060| 82 21 57 65 62 73 74 65 | 72 00 00 00 ff ff ff ff |.!Webste|r.......|
|00000070| 45 ff ff ff b4 1e ae ea | 30 00 00 00 ff ff ff ff |E.......|0.......|
|00000080| ac 0b 00 80 82 21 42 6f | 6f 74 00 65 72 00 00 00 |.....!Bo|ot.er...|
|00000090| 8c 00 00 00 45 eb ff ff | a1 4c 85 e3 03 00 a3 f7 |....E...|.L......|
|000000a0| 8c 00 00 00 69 b3 00 00 | 82 21 48 65 6c 70 00 65 |....i...|.!Help.e|
|000000b0| 72 00 00 00 40 0a 00 00 | 45 ff ff ff 9c 47 92 e4 |r...@...|E....G..|
|000000c0| 33 00 36 3f 40 0a 00 00 | 19 b4 00 00 82 21 48 65 |3.6?@...|.....!He|
|000000d0| 6c 70 2f 68 74 6d 6c 00 | a6 07 00 00 45 45 f3 ff |lp/html.|....EE..|
|000000e0| 90 c9 87 e2 03 00 86 2f | a6 07 00 00 7d be 00 00 |......./|....}...|
|000000f0| 82 21 52 75 6e 00 2f 68 | 74 6d 6c 00 0a 03 00 00 |.!Run./h|tml.....|
|00000100| 45 eb ff ff af 09 92 e4 | 33 00 36 bd 0a 03 00 00 |E.......|3.6.....|
|00000110| 47 c6 00 00 82 21 52 75 | 6e 49 6d 61 67 65 00 00 |G....!Ru|nImage..|
|00000120| a9 e8 01 00 45 fb ff ff | e4 45 90 e4 03 00 0f 31 |....E...|.E.....1|
|00000130| a9 e8 01 00 75 c9 00 00 | 82 21 53 70 72 69 74 65 |....u...|.!Sprite|
|00000140| 73 00 00 00 60 04 00 00 | 45 f9 ff ff b8 ff 09 b0 |s...`...|E.......|
|00000150| 33 00 9c b7 60 04 00 00 | 42 b2 02 00 82 21 53 70 |3...`...|B....!Sp|
|00000160| 72 69 74 65 73 32 32 00 | 18 09 00 00 45 f9 ff ff |rites22.|....E...|
|00000170| bb 73 87 e2 03 00 fd 57 | 18 09 00 00 c6 b6 02 00 |.s.....W|........|
|00000180| 82 21 53 70 72 69 74 65 | 73 32 34 00 1c 05 00 00 |.!Sprite|s24.....|
|00000190| 45 f9 ff ff be 77 87 e2 | 03 00 c8 0e 1c 05 00 00 |E....w..|........|
|000001a0| 02 c0 02 00 82 43 61 63 | 68 65 00 65 73 32 32 00 |.....Cac|he.es22.|
|000001b0| ff ff ff ff 45 ff ff ff | 1b 20 ae ea 30 00 00 00 |....E...|. ..0...|
|000001c0| ff ff ff ff 8c 01 00 80 | 00 21 53 70 72 69 74 65 |........|.!Sprite|
|000001d0| 73 32 34 00 1c 05 00 00 | 45 f9 ff ff be 77 87 e2 |s24.....|E....w..|
|000001e0| 03 00 c8 0e 18 03 00 00 | a2 06 02 00 82 43 61 70 |........|.....Cap|
|000001f0| 73 00 74 65 73 32 34 00 | 2c 00 00 00 a8 94 00 00 |s.tes24.|,.......|
|00000200| a8 94 00 00 03 00 cd 1e | 2c 00 00 00 42 c5 02 00 |........|,...B...|
|00000210| 82 43 68 6f 69 63 65 73 | 00 32 34 00 ff ff ff ff |.Choices|.24.....|
|00000220| 45 ff ff ff 3b 20 ae ea | 00 00 00 00 ff ff ff ff |E...; ..|........|
|00000230| f8 01 00 80 00 43 61 70 | 73 00 74 65 73 32 34 00 |.....Cap|s.tes24.|
|00000240| 2c 00 00 00 a8 94 00 00 | a8 94 00 00 03 00 cd 1e |,.......|........|
|00000250| 2c 00 00 00 de 09 02 00 | 82 44 65 66 61 75 6c 74 |,.......|.Default|
|00000260| 00 32 34 00 78 06 00 00 | 45 f9 ff ff 69 74 46 b7 |.24.x...|E...itF.|
|00000270| 33 00 18 85 78 06 00 00 | 92 c5 02 00 82 44 6f 63 |3...x...|.....Doc|
|00000280| 73 00 74 65 73 32 34 00 | ff ff ff ff 45 ff ff ff |s.tes24.|....E...|
|00000290| 78 20 ae ea 30 00 00 00 | ff ff ff ff 4c 08 00 80 |x ..0...|....L...|
|000002a0| 82 61 62 6f 75 74 00 65 | 73 32 34 00 45 0c 00 00 |.about.e|s24.E...|
|000002b0| 45 45 f3 ff 3c 4d 59 e1 | 33 00 79 09 45 0c 00 00 |EE..<MY.|3.y.E...|
|000002c0| 2e cc 02 00 82 61 63 6b | 00 74 00 65 73 32 34 00 |.....ack|.t.es24.|
|000002d0| 3e 03 00 00 45 45 f3 ff | 63 95 6e e1 03 00 88 fb |>...EE..|c.n.....|
|000002e0| 3e 03 00 00 97 d8 02 00 | 82 61 75 74 68 6f 72 00 |>.......|.author.|
|000002f0| 73 32 34 00 69 03 00 00 | 45 45 f3 ff 60 40 56 e1 |s24.i...|EE..`@V.|
|00000300| 33 00 ef 8a 69 03 00 00 | f9 db 02 00 82 62 75 67 |3...i...|.....bug|
|00000310| 73 00 72 00 73 32 34 00 | 19 13 00 00 45 45 f3 ff |s.r.s24.|....EE..|
|00000320| ec 00 05 e3 03 00 67 8c | 19 13 00 00 86 df 02 00 |......g.|........|
|00000330| 82 63 61 63 68 65 73 00 | 73 32 34 00 4e 08 00 00 |.caches.|s24.N...|
|00000340| 45 45 f3 ff 60 a4 56 e1 | 33 00 c0 ef 4e 08 00 00 |EE..`.V.|3...N...|
|00000350| c3 f2 02 00 82 63 6f 64 | 65 73 00 00 73 32 34 00 |.....cod|es..s24.|
|00000360| 95 10 00 00 45 45 f3 ff | de 01 12 e4 03 00 8c 92 |....EE..|........|
|00000370| 95 10 00 00 35 fb 02 00 | 82 64 65 76 00 73 00 00 |....5...|.dev.s..|
|00000380| 73 32 34 00 e7 06 00 00 | 45 45 f3 ff c8 b4 56 e1 |s24.....|EE....V.|
|00000390| 33 00 85 0a e7 06 00 00 | ee 0b 03 00 82 64 69 73 |3.......|.....dis|
|000003a0| 63 6c 61 69 6d 00 34 00 | 41 04 00 00 45 45 f3 ff |claim.4.|A...EE..|
|000003b0| 08 bb 56 e1 33 00 1f 94 | 41 04 00 00 f9 12 03 00 |..V.3...|A.......|
|000003c0| 82 65 6e 68 61 6e 63 65 | 00 00 34 00 91 05 00 00 |.enhance|..4.....|
|000003d0| 45 45 f3 ff 09 96 04 e3 | 03 00 0b eb 91 05 00 00 |EE......|........|
|000003e0| 5e 17 03 00 82 65 78 61 | 6d 2f 67 69 66 00 34 00 |^....exa|m/gif.4.|
|000003f0| 34 01 00 00 45 95 f6 ff | e0 a5 43 e1 33 00 ae 52 |4...E...|..C.3..R|
|00000400| 34 01 00 00 13 1d 03 00 | 82 65 78 61 6d 2f 69 63 |4.......|.exam/ic|
|00000410| 6f 6e 00 00 8c 01 00 00 | 45 f9 ff ff 30 63 60 b0 |on......|E...0c`.|
|00000420| 33 00 5b 4d 8c 01 00 00 | 6b 1e 03 00 82 65 78 61 |3.[M....|k....exa|
|00000430| 6d 2f 6a 70 65 67 00 00 | 17 05 00 00 45 85 fc ff |m/jpeg..|....E...|
|00000440| 0c a7 43 e1 33 00 1b 25 | 17 05 00 00 1b 20 03 00 |..C.3..%|..... ..|
|00000450| 82 65 78 61 6d 2f 78 62 | 6d 00 00 00 83 03 00 00 |.exam/xb|m.......|
|00000460| 45 ff ff ff 70 a7 43 e1 | 33 00 10 8a 83 03 00 00 |E...p.C.|3.......|
|00000470| 56 25 03 00 82 65 78 61 | 6d 70 6c 65 00 00 00 00 |V%...exa|mple....|
|00000480| 59 10 00 00 45 45 f3 ff | a3 10 7e e2 03 00 56 35 |Y...EE..|..~...V5|
|00000490| 59 10 00 00 fd 28 03 00 | 82 66 65 74 63 68 65 72 |Y....(..|.fetcher|
|000004a0| 73 00 00 00 c6 0e 00 00 | 45 45 f3 ff 8c d7 56 e1 |s.......|EE....V.|
|000004b0| 33 00 10 7a c6 0e 00 00 | 7a 39 03 00 82 66 69 6c |3..z....|z9...fil|
|000004c0| 65 73 00 72 73 00 00 00 | 7a 0a 00 00 45 45 f3 ff |es.rs...|z...EE..|
|000004d0| 5d 5c 67 e2 03 00 cd 0d | 7a 0a 00 00 64 48 03 00 |]\g.....|z...dH..|
|000004e0| 82 67 69 66 32 73 70 72 | 00 00 00 00 b5 07 00 00 |.gif2spr|........|
|000004f0| 45 45 f3 ff 24 b7 48 e1 | 33 00 76 81 b5 07 00 00 |EE..$.H.|3.v.....|
|00000500| 02 53 03 00 82 47 6f 55 | 70 00 70 72 00 00 00 00 |.S...GoU|p.pr....|
|00000510| d8 03 00 00 45 f9 ff ff | ca 9a 75 e1 03 00 91 57 |....E...|..u....W|
|00000520| d8 03 00 00 db 5a 03 00 | 82 68 69 73 74 6f 72 79 |.....Z..|.history|
|00000530| 00 00 00 00 6c 03 00 00 | 45 45 f3 ff d4 e4 56 e1 |....l...|EE....V.|
|00000540| 33 00 26 db 6c 03 00 00 | d7 5e 03 00 82 68 74 74 |3.&.l...|.^...htt|
|00000550| 70 00 72 79 00 00 00 00 | 44 05 00 00 45 45 f3 ff |p.ry....|D...EE..|
|00000560| c4 ef 56 e1 33 00 82 26 | 44 05 00 00 67 62 03 00 |..V.3..&|D...gb..|
|00000570| 82 69 6d 61 67 65 73 00 | 00 00 00 00 ca 05 00 00 |.images.|........|
|00000580| 45 45 f3 ff 94 f7 56 e1 | 33 00 1d 2d ca 05 00 00 |EE....V.|3..-....|
|00000590| cf 67 03 00 82 69 6e 73 | 74 61 6c 6c 00 00 00 00 |.g...ins|tall....|
|000005a0| 97 06 00 00 45 45 f3 ff | a8 fc 56 e1 33 00 0e f6 |....EE..|..V.3...|
|000005b0| 97 06 00 00 bd 6d 03 00 | 82 69 73 6f 6c 61 74 31 |.....m..|.isolat1|
|000005c0| 00 00 00 00 49 0e 00 00 | 45 45 f3 ff 58 01 57 e1 |....I...|EE..X.W.|
|000005d0| 33 00 a5 e3 49 0e 00 00 | 78 74 03 00 82 6c 69 63 |3...I...|xt...lic|
|000005e0| 65 6e 63 65 00 00 00 00 | 4a 04 00 00 45 45 f3 ff |ence....|J...EE..|
|000005f0| c4 08 57 e1 33 00 64 dc | 4a 04 00 00 e5 82 03 00 |..W.3.d.|J.......|
|00000600| 82 6c 69 6e 6b 73 00 65 | 00 00 00 00 dd 03 00 00 |.links.e|........|
|00000610| 45 45 f3 ff d4 d8 58 e1 | 33 00 0c d2 dd 03 00 00 |EE....X.|3.......|
|00000620| 53 87 03 00 82 6d 65 6e | 75 73 00 65 00 00 00 00 |S....men|us.e....|
|00000630| 3f 0a 00 00 45 45 f3 ff | 40 f9 58 e1 33 00 a9 b6 |?...EE..|@.X.3...|
|00000640| 3f 0a 00 00 54 8b 03 00 | 82 72 65 71 75 69 72 65 |?...T...|.require|
|00000650| 00 00 00 00 09 05 00 00 | 45 45 f3 ff 34 39 57 e1 |........|EE..49W.|
|00000660| 33 00 f1 f5 09 05 00 00 | b7 95 03 00 82 73 63 61 |3.......|.....sca|
|00000670| 6e 74 79 70 65 00 00 00 | d6 03 00 00 45 45 f3 ff |ntype...|....EE..|
|00000680| 77 44 68 e2 03 00 44 41 | d6 03 00 00 e4 9a 03 00 |wDh...DA|........|
|00000690| 82 73 6d 69 6c 65 79 00 | 65 00 00 00 98 01 00 00 |.smiley.|e.......|
|000006a0| 45 f9 ff ff 16 4a 77 e1 | 03 00 07 d2 98 01 00 00 |E....Jw.|........|
|000006b0| de 9e 03 00 82 73 74 72 | 75 63 74 75 72 65 73 00 |.....str|uctures.|
|000006c0| b8 06 00 00 45 ff ff ff | 14 ae 43 e1 33 00 44 b7 |....E...|..C.3.D.|
|000006d0| b8 06 00 00 9a a0 03 00 | 82 54 6f 49 6e 64 65 78 |........|.ToIndex|
|000006e0| 00 65 73 00 d8 03 00 00 | 45 f9 ff ff 01 23 72 e1 |.es.....|E....#r.|
|000006f0| 03 00 01 ce d8 03 00 00 | 76 a7 03 00 82 54 6f 4e |........|v....ToN|
|00000700| 65 78 74 00 00 65 73 00 | d8 03 00 00 45 f9 ff ff |ext..es.|....E...|
|00000710| 4b 08 76 e1 03 00 64 08 | d8 03 00 00 72 ab 03 00 |K.v...d.|....r...|
|00000720| 82 54 6f 50 72 65 76 00 | 00 65 73 00 d8 03 00 00 |.ToPrev.|.es.....|
|00000730| 45 f9 ff ff 7f fa 75 e1 | 03 00 a4 23 d8 03 00 00 |E.....u.|...#....|
|00000740| 6e af 03 00 82 75 72 6c | 74 72 61 6e 73 00 73 00 |n....url|trans.s.|
|00000750| 4a 0f 00 00 45 45 f3 ff | 91 40 82 e2 03 00 1c 58 |J...EE..|.@.....X|
|00000760| 4a 0f 00 00 6a b3 03 00 | 82 76 65 72 73 69 6f 6e |J...j...|.version|
|00000770| 73 00 73 00 ff ff ff ff | 45 ff ff ff f3 24 ae ea |s.s.....|E....$..|
|00000780| 30 00 00 00 ff ff ff ff | 28 08 00 80 82 30 30 31 |0.......|(....001|
|00000790| 2f 68 74 6d 6c 00 73 00 | 2c 02 00 00 45 45 f3 ff |/html.s.|,...EE..|
|000007a0| a9 7d 73 e1 03 00 58 a7 | 2c 02 00 00 d8 c2 03 00 |.}s...X.|,.......|
|000007b0| 82 30 30 32 2f 68 74 6d | 6c 00 73 00 ad 08 00 00 |.002/htm|l.s.....|
|000007c0| 45 45 f3 ff 81 53 73 e1 | 03 00 21 1d ad 08 00 00 |EE...Ss.|..!.....|
|000007d0| 28 c5 03 00 82 30 30 33 | 2f 68 74 6d 6c 00 73 00 |(....003|/html.s.|
|000007e0| b5 05 00 00 45 45 f3 ff | c9 2c 73 e1 03 00 88 dd |....EE..|.,s.....|
|000007f0| b5 05 00 00 f9 cd 03 00 | 82 30 30 34 2f 68 74 6d |........|.004/htm|
|00000800| 6c 00 73 00 4e 0c 00 00 | 45 45 f3 ff 46 f6 72 e1 |l.s.N...|EE..F.r.|
|00000810| 03 00 0d 04 4e 0c 00 00 | d2 d3 03 00 82 30 30 35 |....N...|.....005|
|00000820| 2f 68 74 6d 6c 00 73 00 | a8 12 00 00 45 45 f3 ff |/html.s.|....EE..|
|00000830| e7 d9 72 e1 03 00 1e 4f | a8 12 00 00 44 e0 03 00 |..r....O|....D...|
|00000840| 82 30 30 36 2f 68 74 6d | 6c 00 73 00 76 0c 00 00 |.006/htm|l.s.v...|
|00000850| 45 45 f3 ff e1 7b 12 e4 | 03 00 d5 46 76 0c 00 00 |EE...{..|...Fv...|
|00000860| 10 f3 03 00 00 75 72 6c | 74 72 61 6e 73 00 73 00 |.....url|trans.s.|
|00000870| 4a 0f 00 00 45 45 f3 ff | 91 40 82 e2 03 00 1c 58 |J...EE..|.@.....X|
|00000880| 4a 0f 00 00 91 e9 02 00 | 00 44 65 66 61 75 6c 74 |J.......|.Default|
|00000890| 00 32 34 00 78 06 00 00 | 45 f9 ff ff 69 74 46 b7 |.24.x...|E...itF.|
|000008a0| 33 00 18 85 17 02 00 00 | 2e 0a 02 00 82 46 65 74 |3.......|.....Fet|
|000008b0| 63 68 65 72 73 00 73 00 | ff ff ff ff 45 ff ff ff |chers.s.|....E...|
|000008c0| f8 25 ae ea 00 00 00 00 | ff ff ff ff 20 0a 00 80 |.%......|.... ...|
|000008d0| 82 21 48 54 54 50 00 74 | 00 32 34 00 ff ff ff ff |.!HTTP.t|.24.....|
|000008e0| 45 ff ff ff 0b 26 ae ea | 30 00 00 00 ff ff ff ff |E....&..|0.......|
|000008f0| 48 09 00 80 82 21 52 75 | 6e 00 00 74 00 32 34 00 |H....!Ru|n..t.24.|
|00000900| 39 00 00 00 45 eb ff ff | 92 05 ff ea 03 00 9f 78 |9...E...|.......x|
|00000910| 39 00 00 00 aa ff 03 00 | 82 21 52 75 6e 49 6d 61 |9.......|.!RunIma|
|00000920| 67 65 00 00 ab 11 00 00 | 45 fb ff ff 0f f7 f7 e2 |ge......|E.......|
|00000930| 03 00 2c b2 ab 11 00 00 | 07 00 04 00 82 4d 65 73 |..,.....|.....Mes|
|00000940| 73 61 67 65 73 00 00 00 | a1 01 00 00 45 ff ff ff |sages...|....E...|
|00000950| 75 42 fe e3 03 00 3f e5 | a1 01 00 00 d6 11 04 00 |uB....?.|........|
|00000960| 82 53 63 61 6e 54 79 70 | 65 00 00 00 88 00 00 00 |.ScanTyp|e.......|
|00000970| 45 ff ff ff 9d f5 c6 e2 | 03 00 1c 95 88 00 00 00 |E.......|........|
|00000980| 9b 13 04 00 00 46 65 74 | 63 68 65 72 73 00 73 00 |.....Fet|chers.s.|
|00000990| ff ff ff ff 45 ff ff ff | f8 25 ae ea 00 00 00 00 |....E...|.%......|
|000009a0| ff ff ff ff ac 0b 00 80 | 82 44 69 72 65 63 74 6f |........|.Directo|
|000009b0| 72 79 00 00 bf 0a 00 00 | 45 fb ff ff 64 91 fc d7 |ry......|E...d...|
|000009c0| 03 00 2f d9 bf 0a 00 00 | 47 14 04 00 82 46 54 50 |../.....|G....FTP|
|000009d0| 00 63 74 6f 72 79 00 00 | 3c 08 00 00 45 fb ff ff |.ctory..|<...E...|
|000009e0| a1 aa be de 03 00 80 68 | 3c 08 00 00 2a 1f 04 00 |.......h|<...*...|
|000009f0| 82 52 4e 4d 61 69 6c 00 | 72 79 00 00 b7 01 00 00 |.RNMail.|ry......|
|00000a00| 45 fb ff ff ee 02 ce dc | 03 00 9c cf b7 01 00 00 |E.......|........|
|00000a10| 8a 27 04 00 82 52 4e 4e | 65 77 73 00 72 79 00 00 |.'...RNN|ews.ry..|
|00000a20| 5d 01 00 00 45 fb ff ff | 3d 62 ce dc 03 00 66 d0 |]...E...|=b....f.|
|00000a30| 5d 01 00 00 65 29 04 00 | 82 54 65 6c 6e 65 74 00 |]...e)..|.Telnet.|
|00000a40| 72 79 00 00 c1 05 00 00 | 45 fb ff ff e8 a1 cd dc |ry......|E.......|
|00000a50| 03 00 5c 48 c1 05 00 00 | e6 2a 04 00 00 44 65 66 |..\H....|.*...Def|
|00000a60| 61 75 6c 74 00 32 34 00 | 78 06 00 00 45 f9 ff ff |ault.24.|x...E...|
|00000a70| 69 74 46 b7 33 00 18 85 | 17 02 00 00 2e 0a 02 00 |itF.3...|........|
|00000a80| 82 67 69 66 32 73 70 72 | 00 32 34 00 5c 4f 00 00 |.gif2spr|.24.\O..|
|00000a90| 45 f8 ff ff 19 31 79 d3 | 03 00 24 73 5c 4f 00 00 |E....1y.|..$s\O..|
|00000aa0| cb 30 04 00 82 48 65 6c | 70 44 61 74 61 00 34 00 |.0...Hel|pData.4.|
|00000ab0| 0c 1a 00 00 45 ff ff ff | ac f2 4d df 03 00 3e 86 |....E...|..M...>.|
|00000ac0| 0c 1a 00 00 4b 80 04 00 | 82 48 6f 74 4c 69 73 74 |....K...|.HotList|
|00000ad0| 00 00 34 00 be 00 00 00 | 45 ff ff ff e0 20 92 e4 |..4.....|E.... ..|
|00000ae0| 33 00 05 a7 be 00 00 00 | 7b 9a 04 00 82 4d 43 6f |3.......|{....MCo|
|00000af0| 64 65 00 74 00 00 34 00 | a0 05 00 00 45 fb ff ff |de.t..4.|....E...|
|00000b00| c7 c0 8c e3 03 00 96 e4 | a0 05 00 00 5d 9b 04 00 |........|....]...|
|00000b10| 82 4d 65 73 73 61 67 65 | 73 00 34 00 24 09 00 00 |.Message|s.4.$...|
|00000b20| 45 ff ff ff a0 83 8e e4 | 03 00 f7 b1 24 09 00 00 |E.......|....$...|
|00000b30| 21 a1 04 00 82 52 49 53 | 43 4f 53 33 30 30 00 00 |!....RIS|COS300..|
|00000b40| 7c 00 00 00 a8 94 00 00 | a8 94 00 00 03 00 07 04 ||.......|........|
|00000b50| 7c 00 00 00 69 aa 04 00 | 82 73 63 61 6e 74 79 70 ||...i...|.scantyp|
|00000b60| 65 00 00 00 8f 00 00 00 | 45 ff ff ff 0a 78 c8 ea |e.......|E....x..|
|00000b70| 03 00 88 a4 8f 00 00 00 | 09 ab 04 00 82 53 70 72 |........|.....Spr|
|00000b80| 69 74 65 73 00 00 00 00 | 6c 36 00 00 45 f9 ff ff |ites....|l6..E...|
|00000b90| de b8 66 e0 03 00 90 c5 | 6c 36 00 00 bc ab 04 00 |..f.....|l6......|
|00000ba0| 82 54 65 6d 70 6c 61 74 | 65 73 00 00 d8 33 00 00 |.Templat|es...3..|
|00000bb0| 45 ec ff ff 70 93 fe e3 | 03 00 b9 5c d8 33 00 00 |E...p...|...\.3..|
|00000bc0| 4c e2 04 00 82 54 72 61 | 6e 73 6c 61 74 65 00 00 |L....Tra|nslate..|
|00000bd0| b6 00 00 00 45 ff ff ff | 53 45 2d bb 33 00 5d b1 |....E...|SE-.3.].|
|00000be0| b6 00 00 00 48 16 05 00 | 00 41 52 4d 69 6e 73 74 |....H...|.ARMinst|
|00000bf0| 72 73 00 00 21 b3 00 00 | 45 45 f3 ff 22 52 43 eb |rs..!...|EE.."RC.|
|00000c00| 03 0c f1 31 28 5f 00 00 | 24 00 00 00 82 41 52 4d |...1(_..|$....ARM|
|00000c10| 69 6e 73 74 72 73 00 00 | 21 b3 00 00 45 45 f3 ff |instrs..|!...EE..|
|00000c20| 22 52 43 eb 03 00 f1 31 | 21 b3 00 00 24 00 00 00 |"RC....1|!...$...|
|00000c30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c50| 00 00 00 00 06 99 84 d1 | 08 42 4e 19 3b 69 e6 94 |........|.BN.;i..|
|00000c60| 21 a3 03 c4 8c 18 64 95 | b0 ac 13 46 4e 1e 10 31 |!.....d.|...FN..1|
|00000c70| 72 e4 a8 c1 13 09 d8 83 | 5e 15 50 41 53 06 c4 4c |r.......|^.PAS..L|
|00000c80| 33 52 51 82 14 39 73 0c | 9b 3a 64 d6 82 20 6c d6 |3RQ..9s.|.:d.. l.|
|00000c90| b0 4a 38 72 de a0 8d ec | 72 26 88 33 6f de b8 34 |.J8r....|r&.3o..4|
|00000ca0| 13 26 0d 1d 34 2c 40 88 | a9 43 07 84 9b 37 0a cc |.&..4,@.|.C...7..|
|00000cb0| ce 81 13 72 4e 1a 31 69 | d8 98 be 3b 86 a5 ea c2 |...rN.1i|...;....|
|00000cc0| 61 c6 8c 29 03 87 8e 64 | c4 72 aa de 25 13 e6 e4 |a..)...d|.r..%...|
|00000cd0| 99 c2 25 41 b0 79 33 47 | 65 ef 3a 6a 47 67 6e 03 |..%A.y3G|e.:jGgn.|
|00000ce0| e2 74 19 05 d8 a1 9b 31 | ec 06 f9 d4 c5 20 c6 84 |.t.....1|..... ..|
|00000cf0| a4 53 da 8d e4 3b a6 d1 | 78 3e 9d 16 04 99 37 63 |.S...;..|x>....7c|
|00000d00| ea b4 29 e3 a6 f5 59 fe | 86 8d e7 dd 4a ac a1 51 |..)...Y.|....J..Q|
|00000d10| 92 02 68 8c f5 1b 80 61 | 90 81 56 76 20 bc 21 20 |..h....a|..Vv .! |
|00000d20| 61 20 d0 56 dd 6d b9 ed | 16 e1 78 73 74 84 86 74 |a .V.m..|..xst..t|
|00000d30| d4 cd e1 02 60 06 0d 56 | 5f 7d af b5 e6 9b 84 66 |....`..V|_}.....f|
|00000d40| a4 31 46 1a 61 b0 61 1f | 7e fa f1 d7 9a 19 db 81 |.1F.a.a.|~.......|
|00000d50| 40 91 45 4c d0 41 c6 0e | e4 81 40 9a 47 11 7a 97 |@.EL.A..|..@.G.z.|
|00000d60| dc 69 be 85 a1 80 7a 75 | c0 c1 86 78 ae b9 58 18 |.i....zu|...x..X.|
|00000d70| 1c 65 bc e1 64 61 38 be | c1 dd 8e d2 61 65 9c 4b |.e..da8.|....ae.K|
|00000d80| b4 cd f4 11 4d 11 b2 06 | c2 1c 5a 42 e9 dd 92 25 |....M...|..ZB...%|
|00000d90| 99 e5 d1 62 73 a4 e6 dd | 5d 09 da 51 d8 6b e9 85 |...bs...|]..Q.k..|
|00000da0| e4 de 9b 50 c1 77 5a 77 | f2 a9 74 5f 7e fb f5 b7 |...P.wZw|..t_~...|
|00000db0| 92 8a 6c b0 e1 c2 4b 84 | e5 a1 c0 7d ae bd d1 da |..l...K.|...}....|
|00000dc0| 19 74 c9 c1 92 71 85 d1 | f1 c6 64 61 d8 29 e4 1b |.t...q..|..da.)..|
|00000dd0| 75 58 15 a3 8c 03 ca a4 | 51 18 6b 94 a1 d2 7c 81 |uX......|Q.k...|.|
|00000de0| a6 86 e6 8c 6e 9c 40 87 | 02 62 b0 d1 5c a6 84 71 |....n.@.|.b..\..q|
|00000df0| 77 07 61 22 e5 01 aa 90 | 33 b9 84 e6 7e 20 b4 51 |w.a"....|3...~ .Q|
|00000e00| 52 19 23 f2 10 d8 10 6d | 96 c1 67 46 2f dc da 52 |R.#....m|..gF/..R|
|00000e10| a1 54 21 07 68 7d 83 d6 | 68 e8 1d a0 b2 e1 92 18 |.T!.h}..|h.......|
|00000e20| 85 19 4b d6 1d 65 b0 a1 | de 7e c9 06 36 58 66 75 |..K..e..|.~..6Xfu|
|00000e30| 9c 61 a0 99 f4 09 4a 23 | b5 a9 85 01 02 18 dc ca |.a....J#|........|
|00000e40| 41 c6 09 65 95 61 46 19 | 72 a8 a4 a9 5b 32 a8 66 |A..e.aF.|r...[2.f|
|00000e50| 9a 4a 28 20 49 15 0d aa | e5 61 dc 1c 29 28 20 61 |.J( I...|.a..)( a|
|00000e60| b1 65 18 6b d7 a2 49 8c | e7 6b 1d b0 ca da 65 aa |.e.k..I.|.k....e.|
|00000e70| d7 c6 d9 1d a8 ee a6 5b | 62 a0 33 12 6a a3 65 2b |.......[|b.3.j.e+|
|00000e80| d9 51 9a ad b5 16 e6 99 | 5a 76 5a 2a a3 79 22 1e |.Q......|ZvZ*.y".|
|00000e90| 14 04 08 48 46 69 6c 65 | 44 61 74 61 82 41 52 4d |...HFile|Data.ARM|
|00000ea0| 69 6e 73 74 72 73 00 00 | 21 b3 00 00 45 45 f3 ff |instrs..|!...EE..|
|00000eb0| 22 52 43 eb 03 00 f1 31 | 3c 48 54 4d 4c 3e 0a 3c |"RC....1|<HTML>.<|
|00000ec0| 48 45 41 44 3e 0a 3c 54 | 49 54 4c 45 3e 41 52 4d |HEAD>.<T|ITLE>ARM|
|00000ed0| 20 49 6e 73 74 72 75 63 | 74 69 6f 6e 20 46 6f 72 | Instruc|tion For|
|00000ee0| 6d 61 74 73 20 61 6e 64 | 20 54 69 6d 69 6e 67 73 |mats and| Timings|
|00000ef0| 3c 2f 54 49 54 4c 45 3e | 0a 3c 2f 48 45 41 44 3e |</TITLE>|.</HEAD>|
|00000f00| 0a 3c 42 4f 44 59 3e 0a | 3c 48 31 3e 41 52 4d 20 |.<BODY>.|<H1>ARM |
|00000f10| 49 6e 73 74 72 75 63 74 | 69 6f 6e 20 46 6f 72 6d |Instruct|ion Form|
|00000f20| 61 74 73 20 61 6e 64 20 | 54 69 6d 69 6e 67 73 3c |ats and |Timings<|
|00000f30| 2f 48 31 3e 0a 3c 50 3e | 0a 3c 48 33 3e 0a 4c 61 |/H1>.<P>|.<H3>.La|
|00000f40| 73 74 20 72 65 76 69 73 | 65 64 3a 20 33 31 73 74 |st revis|ed: 31st|
|00000f50| 20 4a 61 6e 75 61 72 79 | 20 31 39 39 35 0a 3c 2f | January| 1995.</|
|00000f60| 48 33 3e 0a 3c 50 3e 0a | 54 68 65 20 69 6e 66 6f |H3>.<P>.|The info|
|00000f70| 72 6d 61 74 69 6f 6e 20 | 69 6e 63 6c 75 64 65 64 |rmation |included|
|00000f80| 20 68 65 72 65 20 69 73 | 20 70 72 6f 76 69 64 65 | here is| provide|
|00000f90| 64 20 69 6e 20 67 6f 6f | 64 20 66 61 69 74 68 2c |d in goo|d faith,|
|00000fa0| 20 62 75 74 20 6e 6f 0a | 72 65 73 70 6f 6e 73 69 | but no.|responsi|
|00000fb0| 62 69 6c 69 74 79 20 63 | 61 6e 20 62 65 20 61 63 |bility c|an be ac|
|00000fc0| 63 65 70 74 65 64 20 66 | 6f 72 20 61 6e 79 20 64 |cepted f|or any d|
|00000fd0| 61 6d 61 67 65 20 6f 72 | 20 6c 6f 73 73 20 63 61 |amage or| loss ca|
|00000fe0| 75 73 65 64 20 66 72 6f | 6d 20 74 68 65 0a 75 73 |used fro|m the.us|
|00000ff0| 65 20 6f 66 20 69 6e 66 | 6f 72 6d 61 74 69 6f 6e |e of inf|ormation|
|00001000| 20 63 6f 6e 74 61 69 6e | 65 64 20 77 69 74 68 69 | contain|ed withi|
|00001010| 6e 20 74 68 69 73 20 64 | 6f 63 75 6d 65 6e 74 20 |n this d|ocument |
|00001020| 65 76 65 6e 20 69 66 20 | 74 68 65 20 61 75 74 68 |even if |the auth|
|00001030| 6f 72 0a 68 61 73 20 62 | 65 65 6e 20 61 64 76 69 |or.has b|een advi|
|00001040| 73 65 64 20 6f 66 20 74 | 68 65 20 70 6f 73 73 69 |sed of t|he possi|
|00001050| 62 69 6c 69 74 79 20 6f | 66 20 73 75 63 68 20 6c |bility o|f such l|
|00001060| 6f 73 73 2e 0a 3c 50 3e | 0a 54 68 69 73 20 69 73 |oss..<P>|.This is|
|00001070| 20 6e 6f 74 20 61 6e 20 | 6f 66 66 69 63 69 61 6c | not an |official|
|00001080| 20 64 6f 63 75 6d 65 6e | 74 20 66 72 6f 6d 20 41 | documen|t from A|
|00001090| 52 4d 20 4c 74 64 3b 20 | 69 6e 20 66 61 63 74 20 |RM Ltd; |in fact |
|000010a0| 6f 74 68 65 72 20 74 68 | 61 6e 20 61 0a 63 6f 75 |other th|an a.cou|
|000010b0| 70 6c 65 20 6f 66 20 6e | 69 63 65 20 70 65 6f 70 |ple of n|ice peop|
|000010c0| 6c 65 20 66 72 6f 6d 20 | 41 52 4d 20 6c 69 6d 69 |le from |ARM limi|
|000010d0| 74 65 64 20 70 6f 69 6e | 74 69 6e 67 20 6f 75 74 |ted poin|ting out|
|000010e0| 20 73 6f 6d 65 20 6f 66 | 20 74 68 65 0a 63 6f 72 | some of| the.cor|
|000010f0| 72 65 63 74 69 6f 6e 73 | 2c 20 74 68 65 79 20 68 |rections|, they h|
|00001100| 61 76 65 20 6e 6f 20 63 | 6f 6e 6e 65 63 74 69 6f |ave no c|onnectio|
|00001110| 6e 20 77 69 74 68 20 74 | 68 69 73 20 64 6f 63 75 |n with t|his docu|
|00001120| 6d 65 6e 74 20 61 74 20 | 61 6c 6c 2e 20 54 68 65 |ment at |all. The|
|00001130| 79 0a 64 6f 20 6e 6f 74 | 20 67 75 61 72 61 6e 74 |y.do not| guarant|
|00001140| 65 65 20 74 6f 20 68 61 | 76 65 20 66 6f 75 6e 64 |ee to ha|ve found|
|00001150| 20 61 6c 6c 20 74 68 65 | 20 6d 69 73 74 61 6b 65 | all the| mistake|
|00001160| 73 20 69 6e 20 74 68 69 | 73 2c 20 73 6f 20 64 6f |s in thi|s, so do|
|00001170| 6e 27 74 0a 62 6c 61 6d | 65 20 74 68 65 6d 20 77 |n't.blam|e them w|
|00001180| 68 65 6e 20 79 6f 75 20 | 66 69 6e 64 20 73 6f 6d |hen you |find som|
|00001190| 65 20 6d 6f 72 65 2e 0a | 3c 50 3e 0a 43 6f 72 72 |e more..|<P>.Corr|
|000011a0| 65 63 74 69 6f 6e 73 2f | 61 6d 65 6e 64 6d 65 6e |ections/|amendmen|
|000011b0| 74 73 20 66 6f 72 20 74 | 68 69 73 20 64 6f 63 75 |ts for t|his docu|
|000011c0| 6d 65 6e 74 20 77 6f 75 | 6c 64 20 62 65 20 6d 6f |ment wou|ld be mo|
|000011d0| 73 74 20 77 65 6c 63 6f | 6d 65 2e 0a 3c 50 3e 0a |st welco|me..<P>.|
|000011e0| 54 68 72 6f 75 67 68 6f | 75 74 20 74 68 69 73 20 |Througho|ut this |
|000011f0| 64 6f 63 75 6d 65 6e 74 | 2c 20 61 20 60 77 6f 72 |document|, a `wor|
|00001200| 64 27 20 72 65 66 65 72 | 73 20 74 6f 20 33 32 20 |d' refer|s to 32 |
|00001210| 62 69 74 73 20 28 74 68 | 61 74 73 20 34 20 62 79 |bits (th|ats 4 by|
|00001220| 74 65 73 29 0a 6f 66 20 | 6d 65 6d 6f 72 79 2e 20 |tes).of |memory. |
|00001230| 49 66 20 79 6f 75 20 64 | 6f 6e 27 74 20 6c 69 6b |If you d|on't lik|
|00001240| 65 20 74 68 69 73 2c 20 | 74 6f 75 67 68 2e 0a 3c |e this, |tough..<|
|00001250| 50 3e 0a 54 68 69 73 20 | 64 6f 63 75 6d 65 6e 74 |P>.This |document|
|00001260| 20 69 73 20 61 76 61 69 | 6c 61 62 6c 65 20 69 6e | is avai|lable in|
|00001270| 20 73 65 76 65 72 61 6c | 20 66 6f 72 6d 73 2e 0a | several| forms..|
|00001280| 3c 41 20 48 52 45 46 3d | 22 68 74 74 70 3a 2f 2f |<A HREF=|"http://|
|00001290| 77 77 77 2e 63 6f 6d 6c | 61 62 2e 6f 78 2e 61 63 |www.coml|ab.ox.ac|
|000012a0| 2e 75 6b 2f 6f 75 63 6c | 2f 75 73 65 72 73 2f 72 |.uk/oucl|/users/r|
|000012b0| 6f 62 69 6e 2e 77 61 74 | 74 73 2f 41 52 4d 69 6e |obin.wat|ts/ARMin|
|000012c0| 73 74 72 73 2f 22 3e 54 | 68 65 20 69 6e 64 65 78 |strs/">T|he index|
|000012d0| 20 64 65 73 63 72 69 62 | 65 73 20 74 68 65 6d 20 | describ|es them |
|000012e0| 66 75 6c 6c 79 2e 3c 2f | 41 3e 0a 3c 50 3e 0a 3c |fully.</|A>.<P>.<|
|000012f0| 48 52 3e 3c 41 20 4e 41 | 4d 45 3d 22 43 6f 6e 74 |HR><A NA|ME="Cont|
|00001300| 65 6e 74 73 22 3e 3c 48 | 32 3e 0a 43 6f 6e 74 65 |ents"><H|2>.Conte|
|00001310| 6e 74 73 0a 3c 2f 48 32 | 3e 3c 2f 41 3e 0a 3c 50 |nts.</H2|></A>.<P|
|00001320| 3e 0a 3c 55 4c 3e 0a 3c | 4c 49 3e 20 3c 41 20 48 |>.<UL>.<|LI> <A H|
|00001330| 52 45 46 3d 22 23 4d 6f | 64 65 73 22 3e 50 72 6f |REF="#Mo|des">Pro|
|00001340| 63 65 73 73 6f 72 20 4d | 6f 64 65 73 3c 2f 41 3e |cessor M|odes</A>|
|00001350| 0a 3c 4c 49 3e 20 3c 41 | 20 48 52 45 46 3d 22 23 |.<LI> <A| HREF="#|
|00001360| 52 65 67 69 73 74 65 72 | 73 22 3e 52 65 67 69 73 |Register|s">Regis|
|00001370| 74 65 72 73 3c 2f 41 3e | 0a 3c 4c 49 3e 20 3c 41 |ters</A>|.<LI> <A|
|00001380| 20 48 52 45 46 3d 22 23 | 50 69 70 65 6c 69 6e 65 | HREF="#|Pipeline|
|00001390| 22 3e 50 69 70 65 6c 69 | 6e 65 3c 2f 41 3e 0a 3c |">Pipeli|ne</A>.<|
|000013a0| 4c 49 3e 20 3c 41 20 48 | 52 45 46 3d 22 23 54 69 |LI> <A H|REF="#Ti|
|000013b0| 6d 69 6e 67 73 22 3e 54 | 69 6d 69 6e 67 73 3c 2f |mings">T|imings</|
|000013c0| 41 3e 0a 3c 4c 49 3e 20 | 3c 41 20 48 52 45 46 3d |A>.<LI> |<A HREF=|
|000013d0| 22 23 49 6e 73 74 72 75 | 63 74 69 6f 6e 73 22 3e |"#Instru|ctions">|
|000013e0| 49 6e 73 74 72 75 63 74 | 69 6f 6e 73 3c 2f 41 3e |Instruct|ions</A>|
|000013f0| 0a 3c 55 4c 3e 0a 3c 4c | 49 3e 20 3c 41 20 48 52 |.<UL>.<L|I> <A HR|
|00001400| 45 46 3d 22 23 43 6f 6e | 64 69 74 69 6f 6e 22 3e |EF="#Con|dition">|
|00001410| 43 6f 6e 64 69 74 69 6f | 6e 20 43 6f 64 65 3c 2f |Conditio|n Code</|
|00001420| 41 3e 0a 3c 4c 49 3e 20 | 3c 41 20 48 52 45 46 3d |A>.<LI> |<A HREF=|
|00001430| 22 23 44 61 74 61 22 3e | 44 61 74 61 20 50 72 6f |"#Data">|Data Pro|
|00001440| 63 65 73 73 69 6e 67 20 | 49 6e 73 74 72 75 63 74 |cessing |Instruct|
|00001450| 69 6f 6e 73 3c 2f 41 3e | 0a 3c 4c 49 3e 20 3c 41 |ions</A>|.<LI> <A|
|00001460| 20 48 52 45 46 3d 22 23 | 42 72 61 6e 63 68 22 3e | HREF="#|Branch">|
|00001470| 42 72 61 6e 63 68 20 49 | 6e 73 74 72 75 63 74 69 |Branch I|nstructi|
|00001480| 6f 6e 73 3c 2f 41 3e 0a | 3c 4c 49 3e 20 3c 41 20 |ons</A>.|<LI> <A |
|00001490| 48 52 45 46 3d 22 23 4d | 75 6c 74 69 70 6c 69 63 |HREF="#M|ultiplic|
|000014a0| 61 74 69 6f 6e 22 3e 4d | 75 6c 74 69 70 6c 69 63 |ation">M|ultiplic|
|000014b0| 61 74 69 6f 6e 3c 2f 41 | 3e 0a 3c 4c 49 3e 20 3c |ation</A|>.<LI> <|
|000014c0| 41 20 48 52 45 46 3d 22 | 23 4c 6f 6e 67 22 3e 4c |A HREF="|#Long">L|
|000014d0| 6f 6e 67 20 4d 75 6c 74 | 69 70 6c 69 63 61 74 69 |ong Mult|iplicati|
|000014e0| 6f 6e 20 28 41 52 4d 37 | 44 4d 29 3c 2f 41 3e 0a |on (ARM7|DM)</A>.|
|000014f0| 3c 4c 49 3e 20 3c 41 20 | 48 52 45 46 3d 22 23 54 |<LI> <A |HREF="#T|
|00001500| 72 61 6e 73 66 65 72 22 | 3e 53 69 6e 67 6c 65 20 |ransfer"|>Single |
|00001510| 44 61 74 61 20 54 72 61 | 6e 73 66 65 72 3c 2f 41 |Data Tra|nsfer</A|
|00001520| 3e 0a 3c 4c 49 3e 20 3c | 41 20 48 52 45 46 3d 22 |>.<LI> <|A HREF="|
|00001530| 23 42 6c 6f 63 6b 22 3e | 42 6c 6f 63 6b 20 44 61 |#Block">|Block Da|
|00001540| 74 61 20 54 72 61 6e 73 | 66 65 72 3c 2f 41 3e 0a |ta Trans|fer</A>.|
|00001550| 3c 4c 49 3e 20 3c 41 20 | 48 52 45 46 3d 22 23 53 |<LI> <A |HREF="#S|
|00001560| 6f 66 74 77 61 72 65 22 | 3e 53 6f 66 74 77 61 72 |oftware"|>Softwar|
|00001570| 65 20 69 6e 74 65 72 72 | 75 70 74 3c 2f 41 3e 0a |e interr|upt</A>.|
|00001580| 3c 4c 49 3e 20 3c 41 20 | 48 52 45 46 3d 22 23 43 |<LI> <A |HREF="#C|
|00001590| 6f 70 72 6f 4f 70 22 3e | 43 6f 2d 70 72 6f 63 65 |oproOp">|Co-proce|
|000015a0| 73 73 6f 72 20 64 61 74 | 61 20 6f 70 65 72 61 74 |ssor dat|a operat|
|000015b0| 69 6f 6e 73 3c 2f 41 3e | 0a 3c 4c 49 3e 20 3c 41 |ions</A>|.<LI> <A|
|000015c0| 20 48 52 45 46 3d 22 23 | 43 6f 70 72 6f 54 72 61 | HREF="#|CoproTra|
|000015d0| 6e 73 22 3e 43 6f 2d 70 | 72 6f 63 65 73 73 6f 72 |ns">Co-p|rocessor|
|000015e0| 20 64 61 74 61 20 74 72 | 61 6e 73 66 65 72 20 61 | data tr|ansfer a|
|000015f0| 6e 64 20 72 65 67 69 73 | 74 65 72 20 74 72 61 6e |nd regis|ter tran|
|00001600| 73 66 65 72 73 3c 2f 41 | 3e 0a 3c 4c 49 3e 20 3c |sfers</A|>.<LI> <|
|00001610| 41 20 48 52 45 46 3d 22 | 23 53 77 61 70 22 3e 53 |A HREF="|#Swap">S|
|00001620| 69 6e 67 6c 65 20 44 61 | 74 61 20 53 77 61 70 20 |ingle Da|ta Swap |
|00001630| 28 41 52 4d 20 33 20 61 | 6e 64 20 6c 61 74 65 72 |(ARM 3 a|nd later|
|00001640| 20 69 6e 63 6c 75 64 69 | 6e 67 20 41 52 4d 20 32 | includi|ng ARM 2|
|00001650| 61 53 29 3c 2f 41 3e 0a | 3c 4c 49 3e 20 3c 41 20 |aS)</A>.|<LI> <A |
|00001660| 48 52 45 46 3d 22 23 53 | 74 61 74 75 73 22 3e 53 |HREF="#S|tatus">S|
|00001670| 74 61 74 75 73 20 52 65 | 67 69 73 74 65 72 20 74 |tatus Re|gister t|
|00001680| 72 61 6e 73 66 65 72 20 | 28 41 52 4d 20 36 20 61 |ransfer |(ARM 6 a|
|00001690| 6e 64 20 6c 61 74 65 72 | 29 3c 2f 41 3e 0a 3c 4c |nd later|)</A>.<L|
|000016a0| 49 3e 20 3c 41 20 48 52 | 45 46 3d 22 23 55 6e 64 |I> <A HR|EF="#Und|
|000016b0| 65 66 69 6e 65 64 22 3e | 55 6e 64 65 66 69 6e 65 |efined">|Undefine|
|000016c0| 64 20 69 6e 73 74 72 75 | 63 74 69 6f 6e 73 3c 2f |d instru|ctions</|
|000016d0| 41 3e 0a 3c 2f 55 4c 3e | 0a 3c 4c 49 3e 20 3c 41 |A>.</UL>|.<LI> <A|
|000016e0| 20 48 52 45 46 3d 22 23 | 43 72 65 64 69 74 73 22 | HREF="#|Credits"|
|000016f0| 3e 43 72 65 64 69 74 73 | 3c 2f 41 3e 0a 3c 2f 55 |>Credits|</A>.</U|
|00001700| 4c 3e 0a 3c 50 3e 0a 3c | 48 52 3e 3c 41 20 4e 41 |L>.<P>.<|HR><A NA|
|00001710| 4d 45 3d 22 4d 6f 64 65 | 73 22 3e 3c 48 32 3e 0a |ME="Mode|s"><H2>.|
|00001720| 50 72 6f 63 65 73 73 6f | 72 20 4d 6f 64 65 73 0a |Processo|r Modes.|
|00001730| 3c 2f 48 32 3e 3c 2f 41 | 3e 0a 3c 50 3e 0a 41 52 |</H2></A|>.<P>.AR|
|00001740| 4d 20 70 72 6f 63 65 73 | 73 6f 72 73 20 68 61 76 |M proces|sors hav|
|00001750| 65 20 61 20 75 73 65 72 | 20 6d 6f 64 65 20 61 6e |e a user| mode an|
|00001760| 64 20 61 20 6e 75 6d 62 | 65 72 20 6f 66 20 70 72 |d a numb|er of pr|
|00001770| 69 76 69 6c 65 67 65 64 | 20 73 75 70 65 72 76 69 |ivileged| supervi|
|00001780| 73 6f 72 20 6d 6f 64 65 | 73 2e 0a 54 68 65 73 65 |sor mode|s..These|
|00001790| 20 61 72 65 20 75 73 65 | 64 20 61 73 20 66 6f 6c | are use|d as fol|
|000017a0| 6c 6f 77 73 3a 0a 3c 44 | 4c 3e 0a 3c 44 54 3e 20 |lows:.<D|L>.<DT> |
|000017b0| 49 52 51 0a 3c 44 44 3e | 45 6e 74 65 72 65 64 20 |IRQ.<DD>|Entered |
|000017c0| 77 68 65 6e 20 61 6e 20 | 49 6e 74 65 72 72 75 70 |when an |Interrup|
|000017d0| 74 20 52 65 71 75 65 73 | 74 20 28 49 52 51 29 20 |t Reques|t (IRQ) |
|000017e0| 69 73 20 74 72 69 67 67 | 65 72 65 64 2e 0a 3c 44 |is trigg|ered..<D|
|000017f0| 54 3e 20 46 49 51 0a 3c | 44 44 3e 45 6e 74 65 72 |T> FIQ.<|DD>Enter|
|00001800| 65 64 20 77 68 65 6e 20 | 61 20 46 61 73 74 20 49 |ed when |a Fast I|
|00001810| 6e 74 65 72 72 75 70 74 | 20 52 65 71 75 65 73 74 |nterrupt| Request|
|00001820| 20 28 46 49 51 29 20 69 | 73 20 74 72 69 67 67 65 | (FIQ) i|s trigge|
|00001830| 72 65 64 2e 0a 3c 44 54 | 3e 20 53 56 43 0a 3c 44 |red..<DT|> SVC.<D|
|00001840| 44 3e 45 6e 74 65 72 65 | 64 20 77 68 65 6e 20 61 |D>Entere|d when a|
|00001850| 20 53 6f 66 74 77 61 72 | 65 20 49 6e 74 65 72 72 | Softwar|e Interr|
|00001860| 75 70 74 20 28 53 57 49 | 29 20 69 73 20 65 78 65 |upt (SWI|) is exe|
|00001870| 63 75 74 65 64 2e 0a 3c | 44 54 3e 20 55 6e 64 65 |cuted..<|DT> Unde|
|00001880| 66 0a 3c 44 44 3e 45 6e | 74 65 72 65 64 20 77 68 |f.<DD>En|tered wh|
|00001890| 65 6e 20 61 6e 20 55 6e | 64 65 66 69 6e 65 64 20 |en an Un|defined |
|000018a0| 69 6e 73 74 72 75 63 74 | 69 6f 6e 20 69 73 20 65 |instruct|ion is e|
|000018b0| 78 65 63 75 74 65 64 20 | 28 4e 6f 74 20 41 52 4d |xecuted |(Not ARM|
|000018c0| 20 32 20 61 6e 64 0a 33 | 2c 20 77 68 65 72 65 20 | 2 and.3|, where |
|000018d0| 53 56 43 20 6d 6f 64 65 | 20 69 73 20 65 6e 74 65 |SVC mode| is ente|
|000018e0| 72 65 64 29 2e 0a 3c 44 | 54 3e 20 41 62 74 0a 3c |red)..<D|T> Abt.<|
|000018f0| 44 44 3e 45 6e 74 65 72 | 65 64 20 77 68 65 6e 20 |DD>Enter|ed when |
|00001900| 61 20 6d 65 6d 6f 72 79 | 20 61 63 63 65 73 73 20 |a memory| access |
|00001910| 61 74 74 65 6d 70 74 20 | 69 73 20 61 62 6f 72 74 |attempt |is abort|
|00001920| 65 64 20 62 79 20 74 68 | 65 20 6d 65 6d 6f 72 79 |ed by th|e memory|
|00001930| 20 6d 61 6e 61 67 65 72 | 0a 28 65 2e 67 2e 20 4d | manager|.(e.g. M|
|00001940| 45 4d 43 20 6f 72 20 4d | 4d 55 29 2c 20 75 73 75 |EMC or M|MU), usu|
|00001950| 61 6c 6c 79 20 62 65 63 | 61 75 73 65 20 61 6e 20 |ally bec|ause an |
|00001960| 61 74 74 65 6d 70 74 20 | 69 73 20 6d 61 64 65 20 |attempt |is made |
|00001970| 74 6f 20 61 63 63 65 73 | 73 0a 6e 6f 6e 2d 65 78 |to acces|s.non-ex|
|00001980| 69 73 74 65 6e 74 20 6d | 65 6d 6f 72 79 20 6f 72 |istent m|emory or|
|00001990| 20 74 6f 20 61 63 63 65 | 73 73 20 6d 65 6d 6f 72 | to acce|ss memor|
|000019a0| 79 20 66 72 6f 6d 20 61 | 6e 20 69 6e 73 75 66 66 |y from a|n insuff|
|000019b0| 69 63 69 65 6e 74 6c 79 | 20 70 72 69 76 69 6c 65 |iciently| privile|
|000019c0| 67 65 64 0a 6d 6f 64 65 | 20 28 4e 6f 74 20 41 52 |ged.mode| (Not AR|
|000019d0| 4d 20 32 20 61 6e 64 20 | 33 2c 20 77 68 65 72 65 |M 2 and |3, where|
|000019e0| 20 53 56 43 20 6d 6f 64 | 65 20 69 73 20 65 6e 74 | SVC mod|e is ent|
|000019f0| 65 72 65 64 29 2e 0a 3c | 2f 44 4c 3e 0a 3c 50 3e |ered)..<|/DL>.<P>|
|00001a00| 0a 49 6e 20 65 61 63 68 | 20 63 61 73 65 20 74 68 |.In each| case th|
|00001a10| 65 20 61 70 70 72 6f 70 | 72 69 61 74 65 20 68 61 |e approp|riate ha|
|00001a20| 72 64 77 61 72 65 20 76 | 65 63 74 6f 72 20 69 73 |rdware v|ector is|
|00001a30| 20 61 6c 73 6f 20 63 61 | 6c 6c 65 64 2e 0a 3c 50 | also ca|lled..<P|
|00001a40| 3e 0a 3c 48 52 3e 3c 41 | 20 4e 41 4d 45 3d 22 52 |>.<HR><A| NAME="R|
|00001a50| 65 67 69 73 74 65 72 73 | 22 3e 3c 48 32 3e 0a 52 |egisters|"><H2>.R|
|00001a60| 65 67 69 73 74 65 72 73 | 0a 3c 2f 48 32 3e 3c 2f |egisters|.</H2></|
|00001a70| 41 3e 0a 3c 50 3e 0a 54 | 68 65 20 41 52 4d 20 32 |A>.<P>.T|he ARM 2|
|00001a80| 20 61 6e 64 20 33 20 68 | 61 76 65 20 32 37 20 33 | and 3 h|ave 27 3|
|00001a90| 32 20 62 69 74 20 70 72 | 6f 63 65 73 73 6f 72 20 |2 bit pr|ocessor |
|00001aa0| 72 65 67 69 73 74 65 72 | 73 2c 20 31 36 20 6f 66 |register|s, 16 of|
|00001ab0| 20 77 68 69 63 68 20 61 | 72 65 20 76 69 73 69 62 | which a|re visib|
|00001ac0| 6c 65 0a 61 74 20 61 6e | 79 20 67 69 76 65 6e 20 |le.at an|y given |
|00001ad0| 74 69 6d 65 20 28 77 68 | 69 63 68 20 73 69 78 74 |time (wh|ich sixt|
|00001ae0| 65 65 6e 20 76 61 72 69 | 65 73 20 61 63 63 6f 72 |een vari|es accor|
|00001af0| 64 69 6e 67 20 74 6f 20 | 74 68 65 20 70 72 6f 63 |ding to |the proc|
|00001b00| 65 73 73 6f 72 20 6d 6f | 64 65 29 2e 0a 54 68 65 |essor mo|de)..The|
|00001b10| 73 65 20 61 72 65 20 72 | 65 66 65 72 72 65 64 20 |se are r|eferred |
|00001b20| 74 6f 20 61 73 20 52 30 | 2d 52 31 35 2e 0a 3c 50 |to as R0|-R15..<P|
|00001b30| 3e 0a 54 68 65 20 41 52 | 4d 20 36 20 61 6e 64 20 |>.The AR|M 6 and |
|00001b40| 6c 61 74 65 72 20 68 61 | 76 65 20 33 31 20 33 32 |later ha|ve 31 32|
|00001b50| 20 62 69 74 20 70 72 6f | 63 65 73 73 6f 72 20 72 | bit pro|cessor r|
|00001b60| 65 67 69 73 74 65 72 73 | 2c 20 61 67 61 69 6e 20 |egisters|, again |
|00001b70| 31 36 20 6f 66 20 77 68 | 69 63 68 0a 61 72 65 20 |16 of wh|ich.are |
|00001b80| 76 69 73 69 62 6c 65 20 | 61 74 20 61 6e 79 20 67 |visible |at any g|
|00001b90| 69 76 65 6e 20 74 69 6d | 65 2e 0a 3c 50 3e 0a 52 |iven tim|e..<P>.R|
|00001ba0| 31 35 20 68 61 73 20 73 | 70 65 63 69 61 6c 20 73 |15 has s|pecial s|
|00001bb0| 69 67 6e 69 66 69 63 61 | 6e 63 65 2e 20 4f 6e 20 |ignifica|nce. On |
|00001bc0| 74 68 65 20 41 52 4d 20 | 32 20 61 6e 64 20 33 2c |the ARM |2 and 3,|
|00001bd0| 20 32 34 20 62 69 74 73 | 20 61 72 65 20 75 73 65 | 24 bits| are use|
|00001be0| 64 20 61 73 20 74 68 65 | 0a 70 72 6f 67 72 61 6d |d as the|.program|
|00001bf0| 20 63 6f 75 6e 74 65 72 | 2c 20 61 6e 64 20 74 68 | counter|, and th|
|00001c00| 65 20 72 65 6d 61 69 6e | 69 6e 67 20 38 20 62 69 |e remain|ing 8 bi|
|00001c10| 74 73 20 61 72 65 20 75 | 73 65 64 20 74 6f 20 68 |ts are u|sed to h|
|00001c20| 6f 6c 64 20 70 72 6f 63 | 65 73 73 6f 72 20 6d 6f |old proc|essor mo|
|00001c30| 64 65 2c 0a 73 74 61 74 | 75 73 20 66 6c 61 67 73 |de,.stat|us flags|
|00001c40| 20 61 6e 64 20 69 6e 74 | 65 72 72 75 70 74 20 6d | and int|errupt m|
|00001c50| 6f 64 65 73 2e 20 52 31 | 35 20 69 73 20 74 68 65 |odes. R1|5 is the|
|00001c60| 72 65 66 6f 72 65 20 6f | 66 74 65 6e 20 72 65 66 |refore o|ften ref|
|00001c70| 65 72 72 65 64 20 74 6f | 20 61 73 20 50 43 2e 0a |erred to| as PC..|
|00001c80| 3c 50 52 45 3e 0a 20 20 | 20 20 20 20 20 20 52 31 |<PRE>. | R1|
|00001c90| 35 20 3d 20 50 43 20 3d | 20 4e 5a 43 56 49 46 70 |5 = PC =| NZCVIFp|
|00001ca0| 70 20 70 70 70 70 70 70 | 70 70 20 70 70 70 70 70 |p pppppp|pp ppppp|
|00001cb0| 70 70 70 20 70 70 70 70 | 4d 4d 0a 3c 2f 50 52 45 |ppp pppp|MM.</PRE|
|00001cc0| 3e 0a 42 69 74 73 20 30 | 2d 31 20 61 6e 64 20 32 |>.Bits 0|-1 and 2|
|00001cd0| 36 2d 33 31 20 61 72 65 | 20 6b 6e 6f 77 6e 20 61 |6-31 are| known a|
|00001ce0| 73 20 74 68 65 20 50 53 | 52 20 28 70 72 6f 63 65 |s the PS|R (proce|
|00001cf0| 73 73 6f 72 20 73 74 61 | 74 75 73 0a 72 65 67 69 |ssor sta|tus.regi|
|00001d00| 73 74 65 72 29 2e 20 42 | 69 74 73 20 32 2d 32 35 |ster). B|its 2-25|
|00001d10| 20 67 69 76 65 20 74 68 | 65 20 61 64 64 72 65 73 | give th|e addres|
|00001d20| 73 20 28 69 6e 20 77 6f | 72 64 73 29 20 6f 66 20 |s (in wo|rds) of |
|00001d30| 74 68 65 20 69 6e 73 74 | 72 75 63 74 69 6f 6e 0a |the inst|ruction.|
|00001d40| 63 75 72 72 65 6e 74 6c | 79 20 62 65 69 6e 67 20 |currentl|y being |
|00001d50| 66 65 74 63 68 65 64 20 | 69 6e 74 6f 20 74 68 65 |fetched |into the|
|00001d60| 20 65 78 65 63 75 74 69 | 6f 6e 20 70 69 70 65 6c | executi|on pipel|
|00001d70| 69 6e 65 20 28 73 65 65 | 20 62 65 6c 6f 77 29 2e |ine (see| below).|
|00001d80| 20 54 68 75 73 0a 69 6e | 73 74 72 75 63 74 69 6f | Thus.in|structio|
|00001d90| 6e 73 20 61 72 65 20 6f | 6e 6c 79 20 65 76 65 72 |ns are o|nly ever|
|00001da0| 20 65 78 65 63 75 74 65 | 64 20 66 72 6f 6d 20 77 | execute|d from w|
|00001db0| 6f 72 64 20 61 6c 69 67 | 6e 65 64 20 61 64 64 72 |ord alig|ned addr|
|00001dc0| 65 73 73 65 73 2e 0a 3c | 21 20 63 65 6e 74 65 72 |esses..<|! center|
|00001dd0| 20 42 4f 58 45 44 20 3b | 0a 6c 20 56 4c 49 4e 45 | BOXED ;|.l VLINE|
|00001de0| 20 6c 2e 20 3e 3c 50 52 | 45 3e 0a 4d 09 43 75 72 | l. ><PR|E>.M.Cur|
|00001df0| 72 65 6e 74 20 70 72 6f | 63 65 73 73 6f 72 20 6d |rent pro|cessor m|
|00001e00| 6f 64 65 0a 0a 30 09 55 | 73 65 72 20 4d 6f 64 65 |ode..0.U|ser Mode|
|00001e10| 0a 31 09 46 61 73 74 20 | 69 6e 74 65 72 72 75 70 |.1.Fast |interrup|
|00001e20| 74 20 70 72 6f 63 65 73 | 73 69 6e 67 20 6d 6f 64 |t proces|sing mod|
|00001e30| 65 20 28 46 49 51 20 6d | 6f 64 65 29 0a 32 09 49 |e (FIQ m|ode).2.I|
|00001e40| 6e 74 65 72 72 75 70 74 | 20 70 72 6f 63 65 73 73 |nterrupt| process|
|00001e50| 69 6e 67 20 6d 6f 64 65 | 20 28 49 52 51 20 6d 6f |ing mode| (IRQ mo|
|00001e60| 64 65 29 0a 33 09 53 75 | 70 65 72 76 69 73 6f 72 |de).3.Su|pervisor|
|00001e70| 20 6d 6f 64 65 20 28 53 | 56 43 20 6d 6f 64 65 29 | mode (S|VC mode)|
|00001e80| 0a 3c 2f 50 52 45 3e 0a | 3c 21 20 63 65 6e 74 65 |.</PRE>.|<! cente|
|00001e90| 72 20 42 4f 58 45 44 20 | 3b 0a 6c 20 6c 2e 20 3e |r BOXED |;.l l. >|
|00001ea0| 3c 50 52 45 3e 0a 4e 61 | 6d 65 09 4d 65 61 6e 69 |<PRE>.Na|me.Meani|
|00001eb0| 6e 67 0a 0a 4e 09 4e 65 | 67 61 74 69 76 65 20 66 |ng..N.Ne|gative f|
|00001ec0| 6c 61 67 0a 5a 09 5a 65 | 72 6f 20 66 6c 61 67 0a |lag.Z.Ze|ro flag.|
|00001ed0| 43 09 43 61 72 72 79 20 | 66 6c 61 67 0a 56 09 6f |C.Carry |flag.V.o|
|00001ee0| 56 65 72 66 6c 6f 77 20 | 66 6c 61 67 0a 49 09 49 |Verflow |flag.I.I|
|00001ef0| 6e 74 65 72 72 75 70 74 | 20 72 65 71 75 65 73 74 |nterrupt| request|
|00001f00| 20 64 69 73 61 62 6c 65 | 0a 46 09 46 61 73 74 20 | disable|.F.Fast |
|00001f10| 69 6e 74 65 72 72 75 70 | 74 20 72 65 71 75 65 73 |interrup|t reques|
|00001f20| 74 20 64 69 73 61 62 6c | 65 0a 3c 2f 50 52 45 3e |t disabl|e.</PRE>|
|00001f30| 0a 3c 50 3e 0a 52 31 34 | 2c 20 52 31 34 5f 46 49 |.<P>.R14|, R14_FI|
|00001f40| 51 2c 20 52 31 34 5f 49 | 52 51 2c 20 61 6e 64 20 |Q, R14_I|RQ, and |
|00001f50| 52 31 34 5f 53 56 43 20 | 61 72 65 20 73 6f 6d 65 |R14_SVC |are some|
|00001f60| 74 69 6d 65 73 20 6b 6e | 6f 77 6e 20 61 73 20 60 |times kn|own as `|
|00001f70| 6c 69 6e 6b 27 0a 72 65 | 67 69 73 74 65 72 73 20 |link'.re|gisters |
|00001f80| 64 75 65 20 74 6f 20 74 | 68 65 69 72 20 62 65 68 |due to t|heir beh|
|00001f90| 61 76 69 6f 75 72 20 64 | 75 72 69 6e 67 20 74 68 |aviour d|uring th|
|00001fa0| 65 20 62 72 61 6e 63 68 | 20 77 69 74 68 20 6c 69 |e branch| with li|
|00001fb0| 6e 6b 0a 69 6e 73 74 72 | 75 63 74 69 6f 6e 73 2e |nk.instr|uctions.|
|00001fc0| 0a 3c 50 3e 0a 54 68 65 | 20 41 52 4d 20 36 20 61 |.<P>.The| ARM 6 a|
|00001fd0| 6e 64 20 6c 61 74 65 72 | 20 70 72 6f 63 65 73 73 |nd later| process|
|00001fe0| 6f 72 20 63 6f 72 65 73 | 20 73 75 70 70 6f 72 74 |or cores| support|
|00001ff0| 20 61 20 33 32 20 62 69 | 74 20 61 64 64 72 65 73 | a 32 bi|t addres|
|00002000| 73 20 73 70 61 63 65 2e | 20 53 75 63 68 0a 70 72 |s space.| Such.pr|
|00002010| 6f 63 65 73 73 6f 72 73 | 20 63 61 6e 20 6f 70 65 |ocessors| can ope|
|00002020| 72 61 74 65 20 69 6e 20 | 62 6f 74 68 20 32 36 20 |rate in |both 26 |
|00002030| 62 69 74 20 61 6e 64 20 | 33 32 20 62 69 74 20 50 |bit and |32 bit P|
|00002040| 43 20 6d 6f 64 65 73 2e | 20 49 6e 20 32 36 20 62 |C modes.| In 26 b|
|00002050| 69 74 20 50 43 0a 6d 6f | 64 65 2c 20 52 31 35 20 |it PC.mo|de, R15 |
|00002060| 61 63 74 73 20 61 73 20 | 6f 6e 20 70 72 65 76 69 |acts as |on previ|
|00002070| 6f 75 73 20 70 72 6f 63 | 65 73 73 6f 72 73 2c 20 |ous proc|essors, |
|00002080| 61 6e 64 20 68 65 6e 63 | 65 20 63 6f 64 65 20 63 |and henc|e code c|
|00002090| 61 6e 20 6f 6e 6c 79 20 | 62 65 20 72 75 6e 20 69 |an only |be run i|
|000020a0| 6e 0a 74 68 65 20 6c 6f | 77 65 73 74 20 36 34 4d |n.the lo|west 64M|
|000020b0| 42 79 74 65 73 20 6f 66 | 20 74 68 65 20 61 64 64 |Bytes of| the add|
|000020c0| 72 65 73 73 20 73 70 61 | 63 65 2e 20 49 6e 20 33 |ress spa|ce. In 3|
|000020d0| 32 20 62 69 74 20 50 43 | 20 6d 6f 64 65 2c 20 61 |2 bit PC| mode, a|
|000020e0| 6c 6c 20 33 32 20 62 69 | 74 73 20 6f 66 0a 52 31 |ll 32 bi|ts of.R1|
|000020f0| 35 20 61 72 65 20 75 73 | 65 64 20 61 73 20 74 68 |5 are us|ed as th|
|00002100| 65 20 70 72 6f 67 72 61 | 6d 20 63 6f 75 6e 74 65 |e progra|m counte|
|00002110| 72 2e 20 53 65 70 61 72 | 61 74 65 20 73 74 61 74 |r. Separ|ate stat|
|00002120| 75 73 20 72 65 67 69 73 | 74 65 72 73 20 61 72 65 |us regis|ters are|
|00002130| 20 75 73 65 64 20 74 6f | 0a 73 74 6f 72 65 20 74 | used to|.store t|
|00002140| 68 65 20 70 72 6f 63 65 | 73 73 6f 72 20 6d 6f 64 |he proce|ssor mod|
|00002150| 65 20 61 6e 64 20 73 74 | 61 74 75 73 20 66 6c 61 |e and st|atus fla|
|00002160| 67 73 2e 20 54 68 65 73 | 65 20 61 72 65 20 64 65 |gs. Thes|e are de|
|00002170| 66 69 6e 65 64 20 61 73 | 20 66 6f 6c 6c 6f 77 73 |fined as| follows|
|00002180| 3a 0a 3c 50 52 45 3e 0a | 20 20 20 20 20 20 20 20 |:.<PRE>.| |
|00002190| 4e 5a 43 56 78 78 78 78 | 20 78 78 78 78 78 78 78 |NZCVxxxx| xxxxxxx|
|000021a0| 78 20 78 78 78 78 78 78 | 78 78 20 49 46 78 4d 4d |x xxxxxx|xx IFxMM|
|000021b0| 4d 4d 4d 0a 3c 2f 50 52 | 45 3e 0a 4e 6f 74 65 20 |MMM.</PR|E>.Note |
|000021c0| 74 68 61 74 20 74 68 65 | 20 62 6f 74 74 6f 6d 20 |that the| bottom |
|000021d0| 74 77 6f 20 62 69 74 73 | 20 6f 66 20 52 31 35 20 |two bits| of R15 |
|000021e0| 61 72 65 20 61 6c 77 61 | 79 73 20 7a 65 72 6f 20 |are alwa|ys zero |
|000021f0| 69 6e 20 33 32 2d 62 69 | 74 20 6d 6f 64 65 73 20 |in 32-bi|t modes |
|00002200| 2d 0a 69 2e 65 2e 20 79 | 6f 75 20 63 61 6e 20 73 |-.i.e. y|ou can s|
|00002210| 74 69 6c 6c 20 6f 6e 6c | 79 20 67 65 74 20 77 6f |till onl|y get wo|
|00002220| 72 64 2d 61 6c 69 67 6e | 65 64 20 69 6e 73 74 72 |rd-align|ed instr|
|00002230| 75 63 74 69 6f 6e 73 2e | 20 41 6e 79 20 61 74 74 |uctions.| Any att|
|00002240| 65 6d 70 74 73 20 74 6f | 0a 77 72 69 74 65 20 6e |empts to|.write n|
|00002250| 6f 6e 2d 7a 65 72 6f 73 | 20 74 6f 20 74 68 65 73 |on-zeros| to thes|
|00002260| 65 20 62 69 74 73 20 77 | 69 6c 6c 20 62 65 20 69 |e bits w|ill be i|
|00002270| 67 6e 6f 72 65 64 2e 0a | 3c 50 3e 0a 54 68 65 20 |gnored..|<P>.The |
|00002280| 66 6f 6c 6c 6f 77 69 6e | 67 20 6d 6f 64 65 73 20 |followin|g modes |
|00002290| 61 72 65 20 63 75 72 72 | 65 6e 74 6c 79 20 64 65 |are curr|ently de|
|000022a0| 66 69 6e 65 64 3a 0a 3c | 21 20 63 65 6e 74 65 72 |fined:.<|! center|
|000022b0| 20 42 4f 58 45 44 20 3b | 0a 6c 20 56 4c 49 4e 45 | BOXED ;|.l VLINE|
|000022c0| 20 63 20 56 4c 49 4e 45 | 20 6c 2e 20 3e 3c 50 52 | c VLINE| l. ><PR|
|000022d0| 45 3e 0a 20 20 4d 09 4e | 61 6d 65 09 4d 65 61 6e |E>. M.N|ame.Mean|
|000022e0| 69 6e 67 0a 0a 30 30 30 | 30 30 09 75 73 72 5f 32 |ing..000|00.usr_2|
|000022f0| 36 09 32 36 20 62 69 74 | 20 50 43 20 55 73 65 72 |6.26 bit| PC User|
|00002300| 20 4d 6f 64 65 0a 30 30 | 30 30 31 09 66 69 71 5f | Mode.00|001.fiq_|
|00002310| 32 36 09 32 36 20 62 69 | 74 20 50 43 20 46 49 51 |26.26 bi|t PC FIQ|
|00002320| 20 4d 6f 64 65 0a 30 30 | 30 31 30 09 69 72 71 5f | Mode.00|010.irq_|
|00002330| 32 36 09 32 36 20 62 69 | 74 20 50 43 20 49 52 51 |26.26 bi|t PC IRQ|
|00002340| 20 4d 6f 64 65 0a 30 30 | 30 31 31 09 73 76 63 5f | Mode.00|011.svc_|
|00002350| 32 36 09 32 36 20 62 69 | 74 20 50 43 20 53 56 43 |26.26 bi|t PC SVC|
|00002360| 20 4d 6f 64 65 0a 0a 31 | 30 30 30 30 09 75 73 72 | Mode..1|0000.usr|
|00002370| 5f 33 32 09 33 32 20 62 | 69 74 20 50 43 20 55 73 |_32.32 b|it PC Us|
|00002380| 65 72 20 4d 6f 64 65 0a | 31 30 30 30 31 09 66 69 |er Mode.|10001.fi|
|00002390| 71 5f 33 32 09 33 32 20 | 62 69 74 20 50 43 20 46 |q_32.32 |bit PC F|
|000023a0| 49 51 20 4d 6f 64 65 0a | 31 30 30 31 30 09 69 72 |IQ Mode.|10010.ir|
|000023b0| 71 5f 33 32 09 33 32 20 | 62 69 74 20 50 43 20 49 |q_32.32 |bit PC I|
|000023c0| 52 51 20 4d 6f 64 65 0a | 31 30 30 31 31 09 73 76 |RQ Mode.|10011.sv|
|000023d0| 63 5f 33 32 09 33 32 20 | 62 69 74 20 50 43 20 53 |c_32.32 |bit PC S|
|000023e0| 56 43 20 4d 6f 64 65 0a | 31 30 31 31 31 09 61 62 |VC Mode.|10111.ab|
|000023f0| 74 5f 33 32 09 33 32 20 | 62 69 74 20 50 43 20 41 |t_32.32 |bit PC A|
|00002400| 62 74 20 4d 6f 64 65 0a | 31 31 30 31 31 09 75 6e |bt Mode.|11011.un|
|00002410| 64 5f 33 32 09 33 32 20 | 62 69 74 20 50 43 20 55 |d_32.32 |bit PC U|
|00002420| 6e 64 20 4d 6f 64 65 0a | 3c 2f 50 52 45 3e 0a 3c |nd Mode.|</PRE>.<|
|00002430| 50 3e 0a 45 78 74 72 61 | 70 6f 6c 61 74 69 6e 67 |P>.Extra|polating|
|00002440| 20 66 72 6f 6d 20 74 68 | 65 20 61 62 6f 76 65 20 | from th|e above |
|00002450| 74 61 62 6c 65 2c 20 69 | 74 20 6d 69 67 68 74 20 |table, i|t might |
|00002460| 62 65 20 65 78 70 65 63 | 74 65 64 20 74 68 61 74 |be expec|ted that|
|00002470| 20 74 68 65 0a 66 6f 6c | 6c 6f 77 69 6e 67 20 74 | the.fol|lowing t|
|00002480| 77 6f 20 6d 6f 64 65 73 | 20 61 72 65 20 61 6c 73 |wo modes| are als|
|00002490| 6f 20 64 65 66 69 6e 65 | 64 3a 0a 3c 21 20 63 65 |o define|d:.<! ce|
|000024a0| 6e 74 65 72 20 42 4f 58 | 45 44 20 3b 0a 6c 20 56 |nter BOX|ED ;.l V|
|000024b0| 4c 49 4e 45 20 63 20 56 | 4c 49 4e 45 20 6c 2e 20 |LINE c V|LINE l. |
|000024c0| 3e 3c 50 52 45 3e 0a 20 | 20 4d 09 4e 61 6d 65 09 |><PRE>. | M.Name.|
|000024d0| 4d 65 61 6e 69 6e 67 0a | 0a 30 30 31 31 31 09 61 |Meaning.|.00111.a|
|000024e0| 62 74 5f 32 36 09 32 36 | 20 62 69 74 20 50 43 20 |bt_26.26| bit PC |
|000024f0| 41 62 74 20 4d 6f 64 65 | 0a 30 31 30 31 31 09 75 |Abt Mode|.01011.u|
|00002500| 6e 64 5f 32 36 09 32 36 | 20 62 69 74 20 50 43 20 |nd_26.26| bit PC |
|00002510| 55 6e 64 20 4d 6f 64 65 | 0a 3c 2f 50 52 45 3e 0a |Und Mode|.</PRE>.|
|00002520| 54 68 65 73 65 20 61 72 | 65 20 69 6e 20 66 61 63 |These ar|e in fac|
|00002530| 74 20 75 6e 64 65 66 69 | 6e 65 64 20 28 61 6e 64 |t undefi|ned (and|
|00002540| 20 69 66 20 79 6f 75 20 | 3c 42 3e 64 6f 3c 2f 42 | if you |<B>do</B|
|00002550| 3e 20 77 72 69 74 65 20 | 30 30 31 31 31 20 6f 72 |> write |00111 or|
|00002560| 20 30 31 30 31 31 20 74 | 6f 0a 74 68 65 20 6d 6f | 01011 t|o.the mo|
|00002570| 64 65 20 62 69 74 73 2c | 20 74 68 65 20 72 65 73 |de bits,| the res|
|00002580| 75 6c 74 69 6e 67 20 63 | 68 69 70 20 73 74 61 74 |ulting c|hip stat|
|00002590| 65 20 77 6f 6e 27 74 20 | 62 65 20 77 68 61 74 20 |e won't |be what |
|000025a0| 79 6f 75 20 6d 69 67 68 | 74 20 65 78 70 65 63 74 |you migh|t expect|
|000025b0| 0a 2d 20 69 2e 65 2e 20 | 69 74 20 77 6f 6e 27 74 |.- i.e. |it won't|
|000025c0| 20 62 65 20 61 20 32 36 | 2d 62 69 74 20 70 72 69 | be a 26|-bit pri|
|000025d0| 76 69 6c 65 67 65 64 20 | 6d 6f 64 65 20 77 69 74 |vileged |mode wit|
|000025e0| 68 20 74 68 65 20 61 70 | 70 72 6f 70 72 69 61 74 |h the ap|propriat|
|000025f0| 65 20 52 31 33 0a 61 6e | 64 20 52 31 34 20 73 77 |e R13.an|d R14 sw|
|00002600| 61 70 70 65 64 20 69 6e | 29 2e 0a 3c 50 3e 0a 54 |apped in|)..<P>.T|
|00002610| 68 65 20 66 6f 6c 6c 6f | 77 69 6e 67 20 74 61 62 |he follo|wing tab|
|00002620| 6c 65 20 73 68 6f 77 73 | 20 77 68 69 63 68 20 72 |le shows| which r|
|00002630| 65 67 69 73 74 65 72 73 | 20 61 72 65 20 61 76 61 |egisters| are ava|
|00002640| 69 6c 61 62 6c 65 20 69 | 6e 20 77 68 69 63 68 0a |ilable i|n which.|
|00002650| 70 72 6f 63 65 73 73 6f | 72 20 6d 6f 64 65 73 3a |processo|r modes:|
|00002660| 0a 3c 50 52 45 3e 0a 20 | 20 20 20 20 20 20 20 2b |.<PRE>. | +|
|00002670| 2d 2d 2d 2d 2d 2d 2b 2d | 2d 2d 2d 2d 2d 2d 2d 2d |------+-|--------|
|00002680| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002690| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2b 0a |--------|------+.|
|000026a0| 20 20 20 20 20 20 20 20 | 7c 20 4d 6f 64 65 20 7c | || Mode ||
|000026b0| 20 20 52 65 67 69 73 74 | 65 72 73 20 61 76 61 69 | Regist|ers avai|
|000026c0| 6c 61 62 6c 65 20 20 20 | 20 20 20 20 20 20 20 20 |lable | |
|000026d0| 20 20 20 20 20 20 20 7c | 0a 20 20 20 20 20 20 20 | ||. |
|000026e0| 20 2b 2d 2d 2d 2d 2d 2d | 2b 2d 2d 2d 2d 2d 2d 2d | +------|+-------|
|000026f0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002700| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002710| 2b 0a 20 20 20 20 20 20 | 20 20 7c 20 55 53 52 20 |+. | | USR |
|00002720| 20 7c 20 52 30 20 20 20 | 20 20 20 20 20 20 20 20 | | R0 | |
|00002730| 20 20 2d 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | - | |
|00002740| 52 31 34 20 20 52 31 35 | 20 7c 0a 20 20 20 20 20 |R14 R15| |. |
|00002750| 20 20 20 2b 2d 2d 2d 2d | 2d 2d 2b 2d 2d 2d 2d 2d | +----|--+-----|
|00002760| 2d 2d 2d 2d 2b 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |----+---|--------|
|00002770| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002780| 2d 2d 2b 0a 20 20 20 20 | 20 20 20 20 7c 20 46 49 |--+. | | FI|
|00002790| 51 20 20 7c 20 52 30 20 | 2d 20 52 37 20 7c 20 52 |Q | R0 |- R7 | R|
|000027a0| 38 5f 46 49 51 20 20 20 | 20 2d 20 20 20 20 52 31 |8_FIQ | - R1|
|000027b0| 34 5f 46 49 51 20 20 52 | 31 35 20 7c 0a 20 20 20 |4_FIQ R|15 |. |
|000027c0| 20 20 20 20 20 2b 2d 2d | 2d 2d 2d 2d 2b 2d 2d 2d | +--|----+---|
|000027d0| 2d 2d 2d 2d 2d 2d 2b 2d | 2d 2d 2d 2b 2d 2d 2d 2d |------+-|---+----|
|000027e0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000027f0| 2d 2d 2d 2d 2b 0a 20 20 | 20 20 20 20 20 20 7c 20 |----+. | | |
|00002800| 49 52 51 20 20 7c 20 52 | 30 20 20 20 2d 20 20 20 |IRQ | R|0 - |
|00002810| 52 31 32 20 7c 20 52 31 | 33 5f 49 52 51 20 2d 20 |R12 | R1|3_IRQ - |
|00002820| 52 31 34 5f 49 52 51 20 | 20 52 31 35 20 7c 0a 20 |R14_IRQ | R15 |. |
|00002830| 20 20 20 20 20 20 20 2b | 2d 2d 2d 2d 2d 2d 2b 2d | +|------+-|
|00002840| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2b 2d 2d |--------|-----+--|
|00002850| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002860| 2d 2d 2d 2d 2d 2d 2b 0a | 20 20 20 20 20 20 20 20 |------+.| |
|00002870| 7c 20 53 56 43 20 20 7c | 20 52 30 20 20 20 2d 20 || SVC || R0 - |
|00002880| 20 20 52 31 32 20 7c 20 | 52 31 33 5f 53 56 43 20 | R12 | |R13_SVC |
|00002890| 2d 20 52 31 34 5f 53 56 | 43 20 20 52 31 35 20 7c |- R14_SV|C R15 ||
|000028a0| 0a 20 20 20 20 20 20 20 | 20 2b 2d 2d 2d 2d 2d 2d |. | +------|
|000028b0| 2b 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2b |+-------|-------+|
|000028c0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000028d0| 2d 2d 2d 2d 2d 2d 2d 2d | 2b 0a 20 20 20 20 20 20 |--------|+. |
|000028e0| 20 20 7c 20 41 42 54 20 | 20 7c 20 52 30 20 20 20 | | ABT | | R0 |
|000028f0| 2d 20 20 20 52 31 32 20 | 7c 20 52 31 33 5f 41 42 |- R12 || R13_AB|
|00002900| 54 20 2d 20 52 31 34 5f | 41 42 54 20 20 52 31 35 |T - R14_|ABT R15|
|00002910| 20 7c 20 28 41 52 4d 20 | 36 20 61 6e 64 20 6c 61 | | (ARM |6 and la|
|00002920| 74 65 72 20 6f 6e 6c 79 | 29 0a 20 20 20 20 20 20 |ter only|). |
|00002930| 20 20 2b 2d 2d 2d 2d 2d | 2d 2b 2d 2d 2d 2d 2d 2d | +-----|-+------|
|00002940| 2d 2d 2d 2d 2d 2d 2d 2d | 2b 2d 2d 2d 2d 2d 2d 2d |--------|+-------|
|00002950| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002960| 2d 2b 0a 20 20 20 20 20 | 20 20 20 7c 20 55 4e 44 |-+. | | UND|
|00002970| 20 20 7c 20 52 30 20 20 | 20 2d 20 20 20 52 31 32 | | R0 | - R12|
|00002980| 20 7c 20 52 31 33 5f 55 | 4e 44 20 2d 20 52 31 34 | | R13_U|ND - R14|
|00002990| 5f 55 4e 44 20 20 52 31 | 35 20 7c 20 28 41 52 4d |_UND R1|5 | (ARM|
|000029a0| 20 36 20 61 6e 64 20 6c | 61 74 65 72 20 6f 6e 6c | 6 and l|ater onl|
|000029b0| 79 29 0a 20 20 20 20 20 | 20 20 20 2b 2d 2d 2d 2d |y). | +----|
|000029c0| 2d 2d 2b 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--+-----|--------|
|000029d0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000029e0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2b 0a 3c 2f 50 52 |--------|--+.</PR|
|000029f0| 45 3e 0a 3c 50 3e 0a 54 | 68 65 72 65 20 61 72 65 |E>.<P>.T|here are|
|00002a00| 20 73 69 78 20 73 74 61 | 74 75 73 20 72 65 67 69 | six sta|tus regi|
|00002a10| 73 74 65 72 73 20 6f 6e | 20 74 68 65 20 41 52 4d |sters on| the ARM|
|00002a20| 36 20 61 6e 64 20 6c 61 | 74 65 72 20 70 72 6f 63 |6 and la|ter proc|
|00002a30| 65 73 73 6f 72 73 2e 20 | 4f 6e 65 20 69 73 0a 74 |essors. |One is.t|
|00002a40| 68 65 20 63 75 72 72 65 | 6e 74 20 70 72 6f 63 65 |he curre|nt proce|
|00002a50| 73 73 6f 72 20 73 74 61 | 74 75 73 20 72 65 67 69 |ssor sta|tus regi|
|00002a60| 73 74 65 72 20 28 43 50 | 53 52 29 20 61 6e 64 20 |ster (CP|SR) and |
|00002a70| 68 6f 6c 64 73 20 69 6e | 66 6f 72 6d 61 74 69 6f |holds in|formatio|
|00002a80| 6e 20 61 62 6f 75 74 0a | 74 68 65 20 63 75 72 72 |n about.|the curr|
|00002a90| 65 6e 74 20 73 74 61 74 | 65 20 6f 66 20 74 68 65 |ent stat|e of the|
|00002aa0| 20 70 72 6f 63 65 73 73 | 6f 72 2e 20 54 68 65 20 | process|or. The |
|00002ab0| 6f 74 68 65 72 20 66 69 | 76 65 20 61 72 65 20 74 |other fi|ve are t|
|00002ac0| 68 65 20 73 61 76 65 64 | 20 70 72 6f 63 65 73 73 |he saved| process|
|00002ad0| 6f 72 0a 73 74 61 74 75 | 73 20 72 65 67 69 73 74 |or.statu|s regist|
|00002ae0| 65 72 73 20 28 53 50 53 | 52 73 29 3a 20 74 68 65 |ers (SPS|Rs): the|
|00002af0| 72 65 20 69 73 20 6f 6e | 65 20 6f 66 20 74 68 65 |re is on|e of the|
|00002b00| 73 65 20 66 6f 72 20 65 | 61 63 68 20 70 72 69 76 |se for e|ach priv|
|00002b10| 69 6c 65 67 65 64 20 6d | 6f 64 65 2c 0a 74 6f 20 |ileged m|ode,.to |
|00002b20| 68 6f 6c 64 20 69 6e 66 | 6f 72 6d 61 74 69 6f 6e |hold inf|ormation|
|00002b30| 20 61 62 6f 75 74 20 74 | 68 65 20 73 74 61 74 65 | about t|he state|
|00002b40| 20 74 68 65 20 70 72 6f | 63 65 73 73 6f 72 20 6d | the pro|cessor m|
|00002b50| 75 73 74 20 62 65 20 72 | 65 74 75 72 6e 65 64 20 |ust be r|eturned |
|00002b60| 74 6f 20 77 68 65 6e 0a | 65 78 63 65 70 74 69 6f |to when.|exceptio|
|00002b70| 6e 20 68 61 6e 64 6c 69 | 6e 67 20 69 6e 20 74 68 |n handli|ng in th|
|00002b80| 61 74 20 6d 6f 64 65 20 | 69 73 20 63 6f 6d 70 6c |at mode |is compl|
|00002b90| 65 74 65 2e 0a 3c 50 3e | 0a 54 68 65 73 65 20 72 |ete..<P>|.These r|
|00002ba0| 65 67 69 73 74 65 72 73 | 20 61 72 65 20 73 65 74 |egisters| are set|
|00002bb0| 20 61 6e 64 20 72 65 61 | 64 20 75 73 69 6e 67 20 | and rea|d using |
|00002bc0| 74 68 65 20 4d 53 52 20 | 61 6e 64 20 4d 52 53 20 |the MSR |and MRS |
|00002bd0| 69 6e 73 74 72 75 63 74 | 69 6f 6e 73 0a 72 65 73 |instruct|ions.res|
|00002be0| 70 65 63 74 69 76 65 6c | 79 2e 0a 3c 50 3e 0a 3c |pectivel|y..<P>.<|
|00002bf0| 48 52 3e 3c 41 20 4e 41 | 4d 45 3d 22 50 69 70 65 |HR><A NA|ME="Pipe|
|00002c00| 6c 69 6e 65 22 3e 3c 48 | 32 3e 0a 50 69 70 65 6c |line"><H|2>.Pipel|
|00002c10| 69 6e 65 0a 3c 2f 48 32 | 3e 3c 2f 41 3e 0a 3c 50 |ine.</H2|></A>.<P|
|00002c20| 3e 0a 52 61 74 68 65 72 | 20 74 68 61 6e 20 62 65 |>.Rather| than be|
|00002c30| 69 6e 67 20 61 20 6d 69 | 63 72 6f 63 6f 64 65 64 |ing a mi|crocoded|
|00002c40| 20 70 72 6f 63 65 73 73 | 6f 72 2c 20 74 68 65 20 | process|or, the |
|00002c50| 41 52 4d 20 69 73 20 28 | 69 6e 20 6b 65 65 70 69 |ARM is (|in keepi|
|00002c60| 6e 67 20 77 69 74 68 0a | 69 74 73 20 52 49 53 43 |ng with.|its RISC|
|00002c70| 6e 65 73 73 29 20 65 6e | 74 69 72 65 6c 79 20 68 |ness) en|tirely h|
|00002c80| 61 72 64 77 69 72 65 64 | 2e 0a 3c 50 3e 0a 54 6f |ardwired|..<P>.To|
|00002c90| 20 73 70 65 65 64 20 65 | 78 65 63 75 74 69 6f 6e | speed e|xecution|
|00002ca0| 20 74 68 65 20 41 52 4d | 20 32 20 61 6e 64 20 33 | the ARM| 2 and 3|
|00002cb0| 20 68 61 76 65 20 33 20 | 73 74 61 67 65 20 70 69 | have 3 |stage pi|
|00002cc0| 70 65 6c 69 6e 65 73 2e | 20 54 68 65 20 66 69 72 |pelines.| The fir|
|00002cd0| 73 74 0a 73 74 61 67 65 | 20 68 6f 6c 64 73 20 74 |st.stage| holds t|
|00002ce0| 68 65 20 69 6e 73 74 72 | 75 63 74 69 6f 6e 20 62 |he instr|uction b|
|00002cf0| 65 69 6e 67 20 66 65 74 | 63 68 65 64 20 66 72 6f |eing fet|ched fro|
|00002d00| 6d 20 6d 65 6d 6f 72 79 | 2e 20 54 68 65 20 73 65 |m memory|. The se|
|00002d10| 63 6f 6e 64 0a 73 74 61 | 72 74 73 20 74 68 65 20 |cond.sta|rts the |
|00002d20| 64 65 63 6f 64 69 6e 67 | 2c 20 61 6e 64 20 74 68 |decoding|, and th|
|00002d30| 65 20 74 68 69 72 64 20 | 69 73 20 77 68 65 72 65 |e third |is where|
|00002d40| 20 69 74 20 69 73 20 61 | 63 74 75 61 6c 6c 79 0a | it is a|ctually.|
|00002d50| 65 78 65 63 75 74 65 64 | 2e 20 44 75 65 20 74 6f |executed|. Due to|
|00002d60| 20 74 68 69 73 2c 20 74 | 68 65 20 70 72 6f 67 72 | this, t|he progr|
|00002d70| 61 6d 20 63 6f 75 6e 74 | 65 72 20 69 73 20 61 6c |am count|er is al|
|00002d80| 77 61 79 73 20 32 20 69 | 6e 73 74 72 75 63 74 69 |ways 2 i|nstructi|
|00002d90| 6f 6e 73 0a 62 65 79 6f | 6e 64 20 74 68 65 20 63 |ons.beyo|nd the c|
|00002da0| 75 72 72 65 6e 74 6c 79 | 20 65 78 65 63 75 74 69 |urrently| executi|
|00002db0| 6e 67 20 69 6e 73 74 72 | 75 63 74 69 6f 6e 2e 20 |ng instr|uction. |
|00002dc0| 28 54 68 69 73 20 6d 75 | 73 74 20 62 65 20 74 61 |(This mu|st be ta|
|00002dd0| 6b 65 6e 0a 61 63 63 6f | 75 6e 74 20 6f 66 20 77 |ken.acco|unt of w|
|00002de0| 68 65 6e 20 63 61 6c 63 | 75 6c 61 74 69 6e 67 20 |hen calc|ulating |
|00002df0| 6f 66 66 73 65 74 73 20 | 66 6f 72 20 62 72 61 6e |offsets |for bran|
|00002e00| 63 68 20 69 6e 73 74 72 | 75 63 74 69 6f 6e 73 29 |ch instr|uctions)|
|00002e10| 2e 0a 3c 50 3e 0a 42 65 | 63 61 75 73 65 20 6f 66 |..<P>.Be|cause of|
|00002e20| 20 74 68 69 73 20 70 69 | 70 65 6c 69 6e 65 2c 20 | this pi|peline, |
|00002e30| 32 20 69 6e 73 74 72 75 | 63 74 69 6f 6e 20 63 79 |2 instru|ction cy|
|00002e40| 63 6c 65 73 20 61 72 65 | 20 6c 6f 73 74 20 6f 6e |cles are| lost on|
|00002e50| 20 61 20 62 72 61 6e 63 | 68 0a 28 61 73 20 74 68 | a branc|h.(as th|
|00002e60| 65 20 70 69 70 65 6c 69 | 6e 65 20 6d 75 73 74 20 |e pipeli|ne must |
|00002e70| 72 65 66 69 6c 6c 29 2e | 20 49 74 20 69 73 20 74 |refill).| It is t|
|00002e80| 68 65 72 65 66 6f 72 65 | 20 6f 66 74 65 6e 20 70 |herefore| often p|
|00002e90| 72 65 66 65 72 61 62 6c | 65 20 74 6f 0a 6d 61 6b |referabl|e to.mak|
|00002ea0| 65 20 75 73 65 20 6f 66 | 20 63 6f 6e 64 69 74 69 |e use of| conditi|
|00002eb0| 6f 6e 61 6c 20 69 6e 73 | 74 72 75 63 74 69 6f 6e |onal ins|truction|
|00002ec0| 73 20 74 6f 20 61 76 6f | 69 64 20 77 61 73 74 69 |s to avo|id wasti|
|00002ed0| 6e 67 20 63 79 63 6c 65 | 73 2e 20 46 6f 72 0a 65 |ng cycle|s. For.e|
|00002ee0| 78 61 6d 70 6c 65 3a 0a | 3c 50 52 45 3e 0a 0a 09 |xample:.|<PRE>...|
|00002ef0| 2e 2e 2e 0a 09 43 4d 50 | 20 52 30 2c 23 30 0a 09 |.....CMP| R0,#0..|
|00002f00| 42 45 51 20 6f 76 65 72 | 0a 09 4d 4f 56 20 52 31 |BEQ over|..MOV R1|
|00002f10| 2c 23 31 0a 09 4d 4f 56 | 20 52 32 2c 23 32 0a 6f |,#1..MOV| R2,#2.o|
|00002f20| 76 65 72 0a 09 2e 2e 2e | 0a 0a 3c 2f 50 52 45 3e |ver.....|..</PRE>|
|00002f30| 0a 63 61 6e 20 62 65 20 | 6d 6f 72 65 20 65 66 66 |.can be |more eff|
|00002f40| 69 63 69 65 6e 74 6c 79 | 20 77 72 69 74 74 65 6e |iciently| written|
|00002f50| 20 61 73 3a 0a 3c 50 52 | 45 3e 0a 0a 09 2e 2e 2e | as:.<PR|E>......|
|00002f60| 0a 09 43 4d 50 20 52 30 | 2c 23 30 0a 09 4d 4f 56 |..CMP R0|,#0..MOV|
|00002f70| 4e 45 20 52 31 2c 23 31 | 0a 09 4d 4f 56 4e 45 20 |NE R1,#1|..MOVNE |
|00002f80| 52 32 2c 23 32 0a 09 2e | 2e 2e 0a 3c 2f 50 52 45 |R2,#2...|...</PRE|
|00002f90| 3e 0a 3c 50 3e 0a 3c 48 | 52 3e 3c 41 20 4e 41 4d |>.<P>.<H|R><A NAM|
|00002fa0| 45 3d 22 54 69 6d 69 6e | 67 73 22 3e 3c 48 32 3e |E="Timin|gs"><H2>|
|00002fb0| 0a 54 69 6d 69 6e 67 73 | 0a 3c 2f 48 32 3e 3c 2f |.Timings|.</H2></|
|00002fc0| 41 3e 0a 3c 50 3e 0a 41 | 52 4d 20 69 6e 73 74 72 |A>.<P>.A|RM instr|
|00002fd0| 75 63 74 69 6f 6e 73 20 | 61 72 65 20 74 69 6d 65 |uctions |are time|
|00002fe0| 64 20 69 6e 20 61 20 6d | 69 78 74 75 72 65 20 6f |d in a m|ixture o|
|00002ff0| 66 20 53 2c 20 4e 2c 20 | 49 20 61 6e 64 20 43 20 |f S, N, |I and C |
|00003000| 63 79 63 6c 65 73 2e 0a | 3c 50 3e 0a 41 6e 20 53 |cycles..|<P>.An S|
|00003010| 2d 63 79 63 6c 65 20 69 | 73 20 61 20 63 79 63 6c |-cycle i|s a cycl|
|00003020| 65 20 69 6e 20 77 68 69 | 63 68 20 74 68 65 20 41 |e in whi|ch the A|
|00003030| 52 4d 20 61 63 63 65 73 | 73 65 73 20 61 20 73 65 |RM acces|ses a se|
|00003040| 71 75 65 6e 74 69 61 6c | 20 6d 65 6d 6f 72 79 0a |quential| memory.|
|00003050| 6c 6f 63 61 74 69 6f 6e | 2e 0a 3c 50 3e 0a 41 6e |location|..<P>.An|
|00003060| 20 4e 2d 63 79 63 6c 65 | 20 69 73 20 61 20 63 79 | N-cycle| is a cy|
|00003070| 63 6c 65 20 69 6e 20 77 | 68 69 63 68 20 74 68 65 |cle in w|hich the|
|00003080| 20 41 52 4d 20 61 63 63 | 65 73 73 65 73 20 61 20 | ARM acc|esses a |
|00003090| 6e 6f 6e 2d 73 65 71 75 | 65 6e 74 69 61 6c 20 6d |non-sequ|ential m|
|000030a0| 65 6d 6f 72 79 0a 6c 6f | 63 61 74 69 6f 6e 2e 0a |emory.lo|cation..|
|000030b0| 3c 50 3e 0a 41 6e 20 49 | 2d 63 79 63 6c 65 20 69 |<P>.An I|-cycle i|
|000030c0| 73 20 61 20 63 79 63 6c | 65 20 69 6e 20 77 68 69 |s a cycl|e in whi|
|000030d0| 63 68 20 74 68 65 20 41 | 52 4d 20 64 6f 65 73 6e |ch the A|RM doesn|
|000030e0| 27 74 20 74 72 79 20 74 | 6f 20 61 63 63 65 73 73 |'t try t|o access|
|000030f0| 20 61 20 6d 65 6d 6f 72 | 79 0a 6c 6f 63 61 74 69 | a memor|y.locati|
|00003100| 6f 6e 20 6f 72 20 74 6f | 20 74 72 61 6e 73 66 65 |on or to| transfe|
|00003110| 72 20 61 20 77 6f 72 64 | 20 74 6f 20 6f 72 20 66 |r a word| to or f|
|00003120| 72 6f 6d 20 61 20 63 6f | 70 72 6f 63 65 73 73 6f |rom a co|processo|
|00003130| 72 2e 0a 3c 50 3e 0a 41 | 20 43 2d 63 79 63 6c 65 |r..<P>.A| C-cycle|
|00003140| 20 69 73 20 61 20 63 79 | 63 6c 65 20 69 6e 20 77 | is a cy|cle in w|
|00003150| 68 69 63 68 20 61 20 77 | 6f 72 64 20 69 73 20 74 |hich a w|ord is t|
|00003160| 72 61 6e 73 66 65 72 72 | 65 64 20 62 65 74 77 65 |ransferr|ed betwe|
|00003170| 65 6e 20 74 68 65 20 41 | 52 4d 20 61 6e 64 20 61 |en the A|RM and a|
|00003180| 0a 63 6f 70 72 6f 63 65 | 73 73 6f 72 20 6f 6e 20 |.coproce|ssor on |
|00003190| 65 69 74 68 65 72 20 74 | 68 65 20 64 61 74 61 20 |either t|he data |
|000031a0| 62 75 73 20 28 66 6f 72 | 20 75 6e 63 61 63 68 65 |bus (for| uncache|
|000031b0| 64 20 41 52 4d 73 29 20 | 6f 72 20 74 68 65 20 63 |d ARMs) |or the c|
|000031c0| 6f 70 72 6f 63 65 73 73 | 6f 72 0a 62 75 73 20 28 |oprocess|or.bus (|
|000031d0| 66 6f 72 20 63 61 63 68 | 65 64 20 41 52 4d 73 29 |for cach|ed ARMs)|
|000031e0| 2e 0a 3c 50 3e 0a 54 68 | 65 20 64 69 66 66 65 72 |..<P>.Th|e differ|
|000031f0| 65 6e 74 20 74 79 70 65 | 73 20 6f 66 20 63 79 63 |ent type|s of cyc|
|00003200| 6c 65 20 6d 75 73 74 20 | 61 6c 6c 20 62 65 20 61 |le must |all be a|
|00003210| 74 20 6c 65 61 73 74 20 | 61 73 20 6c 6f 6e 67 20 |t least |as long |
|00003220| 61 73 20 74 68 65 20 41 | 52 4d 27 73 0a 63 6c 6f |as the A|RM's.clo|
|00003230| 63 6b 20 72 61 74 69 6e | 67 2e 20 54 68 65 20 6d |ck ratin|g. The m|
|00003240| 65 6d 6f 72 79 20 73 79 | 73 74 65 6d 20 63 61 6e |emory sy|stem can|
|00003250| 20 73 74 72 65 74 63 68 | 20 74 68 65 6d 3a 20 77 | stretch| them: w|
|00003260| 69 74 68 20 61 20 74 79 | 70 69 63 61 6c 20 44 52 |ith a ty|pical DR|
|00003270| 41 4d 0a 73 79 73 74 65 | 6d 2c 20 74 68 69 73 20 |AM.syste|m, this |
|00003280| 72 65 73 75 6c 74 73 20 | 69 6e 3a 0a 3c 55 4c 3e |results |in:.<UL>|
|00003290| 0a 3c 4c 49 3e 0a 4e 2d | 63 79 63 6c 65 73 20 62 |.<LI>.N-|cycles b|
|000032a0| 65 69 6e 67 20 74 77 69 | 63 65 20 74 68 65 20 6d |eing twi|ce the m|
|000032b0| 69 6e 69 6d 75 6d 20 6c | 65 6e 67 74 68 20 28 65 |inimum l|ength (e|
|000032c0| 73 73 65 6e 74 69 61 6c | 6c 79 20 62 65 63 61 75 |ssential|ly becau|
|000032d0| 73 65 0a 44 52 41 4d 73 | 20 72 65 71 75 69 72 65 |se.DRAMs| require|
|000032e0| 20 61 20 6c 6f 6e 67 65 | 72 20 61 63 63 65 73 73 | a longe|r access|
|000032f0| 20 70 72 6f 74 6f 63 6f | 6c 20 77 68 65 6e 20 74 | protoco|l when t|
|00003300| 68 65 20 6d 65 6d 6f 72 | 79 20 61 63 63 65 73 73 |he memor|y access|
|00003310| 0a 69 73 20 6e 6f 6e 2d | 73 65 71 75 65 6e 74 69 |.is non-|sequenti|
|00003320| 61 6c 29 2e 0a 3c 4c 49 | 3e 0a 53 2d 63 79 63 6c |al)..<LI|>.S-cycl|
|00003330| 65 73 20 75 73 75 61 6c | 6c 79 20 62 65 69 6e 67 |es usual|ly being|
|00003340| 20 74 68 65 20 6d 69 6e | 69 6d 75 6d 20 6c 65 6e | the min|imum len|
|00003350| 67 74 68 2c 20 62 75 74 | 20 6f 63 63 61 73 69 6f |gth, but| occasio|
|00003360| 6e 61 6c 6c 79 0a 62 65 | 69 6e 67 20 73 74 72 65 |nally.be|ing stre|
|00003370| 74 63 68 65 64 20 74 6f | 20 4e 2d 63 79 63 6c 65 |tched to| N-cycle|
|00003380| 20 6c 65 6e 67 74 68 20 | 28 77 68 65 6e 20 79 6f | length |(when yo|
|00003390| 75 27 76 65 20 6a 75 73 | 74 20 6d 6f 76 65 64 0a |u've jus|t moved.|
|000033a0| 73 65 71 75 65 6e 74 69 | 61 6c 6c 79 20 66 72 6f |sequenti|ally fro|
|000033b0| 6d 20 74 68 65 20 6c 61 | 73 74 20 77 6f 72 64 20 |m the la|st word |
|000033c0| 6f 66 20 6f 6e 65 20 6d | 65 6d 6f 72 79 20 22 72 |of one m|emory "r|
|000033d0| 6f 77 22 20 74 6f 20 74 | 68 65 0a 66 69 72 73 74 |ow" to t|he.first|
|000033e0| 20 6f 66 20 74 68 65 20 | 6e 65 78 74 20 6f 6e 65 | of the |next one|
|000033f0| 3c 41 20 48 52 45 46 3d | 22 23 46 6f 6f 74 6e 6f |<A HREF=|"#Footno|
|00003400| 74 65 31 22 3e 5b 31 5d | 3c 2f 41 3e 29 2e 0a 3c |te1">[1]|</A>)..<|
|00003410| 4c 49 3e 0a 49 2d 20 61 | 6e 64 20 43 2d 63 79 63 |LI>.I- a|nd C-cyc|
|00003420| 6c 65 73 20 61 6c 77 61 | 79 73 20 62 65 69 6e 67 |les alwa|ys being|
|00003430| 20 74 68 65 20 6d 69 6e | 69 6d 75 6d 20 6c 65 6e | the min|imum len|
|00003440| 67 74 68 2e 0a 3c 2f 55 | 4c 3e 0a 3c 50 3e 0a 57 |gth..</U|L>.<P>.W|
|00003450| 69 74 68 20 61 20 74 79 | 70 69 63 61 6c 20 53 52 |ith a ty|pical SR|
|00003460| 41 4d 20 73 79 73 74 65 | 6d 2c 20 61 6c 6c 20 66 |AM syste|m, all f|
|00003470| 6f 75 72 20 74 79 70 65 | 73 20 6f 66 20 63 79 63 |our type|s of cyc|
|00003480| 6c 65 20 61 72 65 20 74 | 79 70 69 63 61 6c 6c 79 |le are t|ypically|
|00003490| 20 74 68 65 0a 6d 69 6e | 69 6d 75 6d 20 6c 65 6e | the.min|imum len|
|000034a0| 67 74 68 2e 0a 3c 50 3e | 0a 4f 6e 20 74 68 65 20 |gth..<P>|.On the |
|000034b0| 38 4d 48 7a 20 41 52 4d | 32 20 75 73 65 64 20 69 |8MHz ARM|2 used i|
|000034c0| 6e 20 74 68 65 20 41 63 | 6f 72 6e 20 41 72 63 68 |n the Ac|orn Arch|
|000034d0| 69 6d 65 64 65 73 20 41 | 34 34 30 2f 31 2c 20 61 |imedes A|440/1, a|
|000034e0| 6e 20 53 0a 28 73 65 71 | 75 65 6e 74 69 61 6c 29 |n S.(seq|uential)|
|000034f0| 20 63 79 63 6c 65 20 69 | 73 20 31 32 35 6e 73 20 | cycle i|s 125ns |
|00003500| 61 6e 64 20 61 6e 20 4e | 20 28 6e 6f 6e 2d 73 65 |and an N| (non-se|
|00003510| 71 75 65 6e 74 69 61 6c | 29 20 63 79 63 6c 65 20 |quential|) cycle |
|00003520| 69 73 0a 32 35 30 6e 73 | 2e 20 49 74 20 73 68 6f |is.250ns|. It sho|
|00003530| 75 6c 64 20 62 65 20 6e | 6f 74 65 64 20 74 68 61 |uld be n|oted tha|
|00003540| 74 20 74 68 65 73 65 20 | 74 69 6d 69 6e 67 73 20 |t these |timings |
|00003550| 61 72 65 20 3c 42 3e 6e | 6f 74 3c 2f 42 3e 20 61 |are <B>n|ot</B> a|
|00003560| 74 74 72 69 62 75 74 65 | 73 20 6f 66 0a 74 68 65 |ttribute|s of.the|
|00003570| 20 41 52 4d 2c 20 62 75 | 74 20 6f 66 20 74 68 65 | ARM, bu|t of the|
|00003580| 20 6d 65 6d 6f 72 79 20 | 73 79 73 74 65 6d 2e 20 | memory |system. |
|00003590| 45 2e 67 2e 20 61 6e 20 | 38 4d 48 7a 20 41 52 4d |E.g. an |8MHz ARM|
|000035a0| 32 20 63 61 6e 20 62 65 | 20 63 6f 6e 6e 65 63 74 |2 can be| connect|
|000035b0| 65 64 0a 74 6f 20 61 20 | 73 74 61 74 69 63 20 52 |ed.to a |static R|
|000035c0| 41 4d 20 73 79 73 74 65 | 6d 20 77 68 69 63 68 20 |AM syste|m which |
|000035d0| 67 69 76 65 73 20 61 20 | 31 32 35 6e 73 20 4e 20 |gives a |125ns N |
|000035e0| 63 79 63 6c 65 2e 20 54 | 68 65 20 66 61 63 74 20 |cycle. T|he fact |
|000035f0| 74 68 61 74 20 74 68 65 | 0a 70 72 6f 63 65 73 73 |that the|.process|
|00003600| 6f 72 20 69 73 20 72 61 | 74 65 64 20 61 74 20 38 |or is ra|ted at 8|
|00003610| 4d 48 7a 20 73 69 6d 70 | 6c 79 20 6d 65 61 6e 73 |MHz simp|ly means|
|00003620| 20 74 68 61 74 20 69 74 | 20 69 73 6e 27 74 20 67 | that it| isn't g|
|00003630| 75 61 72 61 6e 74 65 65 | 64 20 74 6f 0a 77 6f 72 |uarantee|d to.wor|
|00003640| 6b 20 69 66 20 79 6f 75 | 20 6d 61 6b 65 20 61 6e |k if you| make an|
|00003650| 79 20 6f 66 20 74 68 65 | 20 74 79 70 65 73 20 6f |y of the| types o|
|00003660| 66 20 63 79 63 6c 65 20 | 73 68 6f 72 74 65 72 20 |f cycle |shorter |
|00003670| 74 68 61 6e 20 31 32 35 | 6e 73 20 69 6e 0a 6c 65 |than 125|ns in.le|
|00003680| 6e 67 74 68 2e 0a 3c 50 | 3e 0a 43 61 63 68 65 64 |ngth..<P|>.Cached|
|00003690| 20 70 72 6f 63 65 73 73 | 6f 72 73 3a 20 41 6c 6c | process|ors: All|
|000036a0| 20 74 68 65 20 69 6e 66 | 6f 72 6d 61 74 69 6f 6e | the inf|ormation|
|000036b0| 20 67 69 76 65 6e 20 69 | 73 20 69 6e 20 74 65 72 | given i|s in ter|
|000036c0| 6d 73 20 6f 66 20 74 68 | 65 20 63 6c 6f 63 6b 0a |ms of th|e clock.|
|000036d0| 63 79 63 6c 65 73 20 73 | 65 65 6e 20 62 79 20 74 |cycles s|een by t|
|000036e0| 68 65 20 41 52 4d 2e 20 | 54 68 65 73 65 20 64 6f |he ARM. |These do|
|000036f0| 20 6e 6f 74 20 6f 63 63 | 75 72 20 61 74 20 61 20 | not occ|ur at a |
|00003700| 63 6f 6e 73 74 61 6e 74 | 20 72 61 74 65 3a 20 74 |constant| rate: t|
|00003710| 68 65 0a 63 61 63 68 65 | 20 63 6f 6e 74 72 6f 6c |he.cache| control|
|00003720| 20 6c 6f 67 69 63 20 63 | 68 61 6e 67 65 73 20 74 | logic c|hanges t|
|00003730| 68 65 20 73 6f 75 72 63 | 65 20 6f 66 20 74 68 65 |he sourc|e of the|
|00003740| 20 63 6c 6f 63 6b 20 63 | 79 63 6c 65 73 20 70 72 | clock c|ycles pr|
|00003750| 65 73 65 6e 74 65 64 0a | 74 6f 20 74 68 65 20 41 |esented.|to the A|
|00003760| 52 4d 20 77 68 65 6e 20 | 63 61 63 68 65 20 6d 69 |RM when |cache mi|
|00003770| 73 73 65 73 20 6f 63 63 | 75 72 2e 0a 3c 50 3e 0a |sses occ|ur..<P>.|
|00003780| 47 65 6e 65 72 61 6c 6c | 79 2c 20 61 20 63 61 63 |Generall|y, a cac|
|00003790| 68 65 64 20 41 52 4d 20 | 68 61 73 20 74 77 6f 20 |hed ARM |has two |
|000037a0| 63 6c 6f 63 6b 20 69 6e | 70 75 74 73 3a 20 74 68 |clock in|puts: th|
|000037b0| 65 20 22 66 61 73 74 20 | 63 6c 6f 63 6b 22 20 46 |e "fast |clock" F|
|000037c0| 43 4c 4b 0a 61 6e 64 20 | 74 68 65 20 22 6d 65 6d |CLK.and |the "mem|
|000037d0| 6f 72 79 20 63 6c 6f 63 | 6b 22 20 4d 43 4c 4b 2e |ory cloc|k" MCLK.|
|000037e0| 20 57 68 65 6e 20 6f 70 | 65 72 61 74 69 6e 67 20 | When op|erating |
|000037f0| 6e 6f 72 6d 61 6c 6c 79 | 20 66 72 6f 6d 20 63 61 |normally| from ca|
|00003800| 63 68 65 2c 20 74 68 65 | 0a 41 52 4d 20 69 73 20 |che, the|.ARM is |
|00003810| 63 6c 6f 63 6b 65 64 20 | 61 74 20 46 43 4c 4b 20 |clocked |at FCLK |
|00003820| 73 70 65 65 64 20 61 6e | 64 20 61 6c 6c 20 74 79 |speed an|d all ty|
|00003830| 70 65 73 20 6f 66 20 63 | 79 63 6c 65 20 61 72 65 |pes of c|ycle are|
|00003840| 20 74 68 65 20 6d 69 6e | 69 6d 75 6d 0a 6c 65 6e | the min|imum.len|
|00003850| 67 74 68 3a 20 63 61 63 | 68 65 20 69 73 20 65 66 |gth: cac|he is ef|
|00003860| 66 65 63 74 69 76 65 6c | 79 20 61 20 74 79 70 65 |fectivel|y a type|
|00003870| 20 6f 66 20 53 52 41 4d | 20 66 72 6f 6d 20 74 68 | of SRAM| from th|
|00003880| 69 73 20 70 6f 69 6e 74 | 20 6f 66 0a 76 69 65 77 |is point| of.view|
|00003890| 2e 20 57 68 65 6e 20 61 | 20 63 61 63 68 65 20 6d |. When a| cache m|
|000038a0| 69 73 73 20 6f 63 63 75 | 72 73 2c 20 74 68 65 20 |iss occu|rs, the |
|000038b0| 41 52 4d 27 73 20 63 6c | 6f 63 6b 20 69 73 20 73 |ARM's cl|ock is s|
|000038c0| 79 6e 63 68 72 6f 6e 69 | 73 65 64 20 74 6f 0a 4d |ynchroni|sed to.M|
|000038d0| 43 4c 4b 2c 20 74 68 65 | 6e 20 74 68 65 20 63 61 |CLK, the|n the ca|
|000038e0| 63 68 65 20 6c 69 6e 65 | 20 66 69 6c 6c 20 74 61 |che line| fill ta|
|000038f0| 6b 65 73 20 70 6c 61 63 | 65 20 61 74 20 4d 43 4c |kes plac|e at MCL|
|00003900| 4b 20 73 70 65 65 64 20 | 28 74 61 6b 69 6e 67 0a |K speed |(taking.|
|00003910| 65 69 74 68 65 72 20 4e | 2b 33 53 20 6f 72 20 4e |either N|+3S or N|
|00003920| 2b 37 53 20 64 65 70 65 | 6e 64 69 6e 67 20 6f 6e |+7S depe|nding on|
|00003930| 20 74 68 65 20 6c 65 6e | 67 74 68 20 6f 66 20 63 | the len|gth of c|
|00003940| 61 63 68 65 20 6c 69 6e | 65 73 20 69 6e 20 74 68 |ache lin|es in th|
|00003950| 65 0a 70 72 6f 63 65 73 | 73 6f 72 20 69 6e 76 6f |e.proces|sor invo|
|00003960| 6c 76 65 64 29 2c 20 74 | 68 65 6e 20 74 68 65 20 |lved), t|hen the |
|00003970| 41 52 4d 27 73 20 63 6c | 6f 63 6b 20 69 73 20 72 |ARM's cl|ock is r|
|00003980| 65 73 79 6e 63 68 72 6f | 6e 69 73 65 64 20 62 61 |esynchro|nised ba|
|00003990| 63 6b 20 74 6f 0a 46 43 | 4c 4b 2e 0a 3c 50 3e 0a |ck to.FC|LK..<P>.|
|000039a0| 57 68 69 6c 65 20 74 68 | 65 20 6d 65 6d 6f 72 79 |While th|e memory|
|000039b0| 20 61 63 63 65 73 73 20 | 69 73 20 74 61 6b 69 6e | access |is takin|
|000039c0| 67 20 70 6c 61 63 65 2c | 20 74 68 65 20 41 52 4d |g place,| the ARM|
|000039d0| 20 69 73 20 62 65 69 6e | 67 20 63 6c 6f 63 6b 65 | is bein|g clocke|
|000039e0| 64 3a 0a 68 6f 77 65 76 | 65 72 2c 20 61 6e 20 69 |d:.howev|er, an i|
|000039f0| 6e 70 75 74 20 63 61 6c | 6c 65 64 20 4e 57 41 49 |nput cal|led NWAI|
|00003a00| 54 20 69 73 20 75 73 65 | 64 20 74 6f 20 63 61 75 |T is use|d to cau|
|00003a10| 73 65 20 74 68 65 20 41 | 52 4d 20 63 79 63 6c 65 |se the A|RM cycle|
|00003a20| 73 0a 69 6e 76 6f 6c 76 | 65 64 20 6e 6f 74 20 74 |s.involv|ed not t|
|00003a30| 6f 20 64 6f 20 61 6e 79 | 74 68 69 6e 67 20 75 6e |o do any|thing un|
|00003a40| 74 69 6c 20 74 68 65 20 | 63 6f 72 72 65 63 74 20 |til the |correct |
|00003a50| 77 6f 72 64 20 61 72 72 | 69 76 65 73 20 66 72 6f |word arr|ives fro|
|00003a60| 6d 0a 6d 65 6d 6f 72 79 | 2c 20 61 6e 64 20 75 73 |m.memory|, and us|
|00003a70| 75 61 6c 6c 79 20 6e 6f | 74 20 74 6f 20 64 6f 20 |ually no|t to do |
|00003a80| 61 6e 79 74 68 69 6e 67 | 20 77 68 69 6c 65 20 74 |anything| while t|
|00003a90| 68 65 20 72 65 6d 61 69 | 6e 69 6e 67 20 77 6f 72 |he remai|ning wor|
|00003aa0| 64 73 0a 61 72 72 69 76 | 65 20 28 74 6f 20 61 76 |ds.arriv|e (to av|
|00003ab0| 6f 69 64 20 67 65 74 74 | 69 6e 67 20 66 75 72 74 |oid gett|ing furt|
|00003ac0| 68 65 72 20 6d 65 6d 6f | 72 79 20 72 65 71 75 65 |her memo|ry reque|
|00003ad0| 73 74 73 20 77 68 69 6c | 65 20 74 68 65 20 63 61 |sts whil|e the ca|
|00003ae0| 63 68 65 20 69 73 0a 73 | 74 69 6c 6c 20 62 75 73 |che is.s|till bus|
|00003af0| 79 20 77 69 74 68 20 74 | 68 65 20 63 61 63 68 65 |y with t|he cache|
|00003b00| 20 6c 69 6e 65 20 72 65 | 66 69 6c 6c 29 2e 20 54 | line re|fill). T|
|00003b10| 68 65 20 73 69 74 75 61 | 74 69 6f 6e 20 69 73 20 |he situa|tion is |
|00003b20| 61 6c 73 6f 0a 63 6f 6d | 70 6c 69 63 61 74 65 64 |also.com|plicated|
|00003b30| 20 62 79 20 74 68 65 20 | 66 61 63 74 20 74 68 61 | by the |fact tha|
|00003b40| 74 20 74 68 65 20 63 61 | 63 68 65 64 20 41 52 4d |t the ca|ched ARM|
|00003b50| 20 63 61 6e 20 62 65 20 | 63 6f 6e 66 69 67 75 72 | can be |configur|
|00003b60| 65 64 20 65 69 74 68 65 | 72 0a 66 6f 72 20 46 43 |ed eithe|r.for FC|
|00003b70| 4c 4b 20 61 6e 64 20 4d | 43 4c 4b 20 74 6f 20 62 |LK and M|CLK to b|
|00003b80| 65 20 73 79 6e 63 68 72 | 6f 6e 6f 75 73 20 74 6f |e synchr|onous to|
|00003b90| 20 65 61 63 68 20 6f 74 | 68 65 72 20 28 73 6f 20 | each ot|her (so |
|00003ba0| 46 43 4c 4b 20 69 73 20 | 61 6e 20 65 78 61 63 74 |FCLK is |an exact|
|00003bb0| 0a 6d 75 6c 74 69 70 6c | 65 20 6f 66 20 4d 43 4c |.multipl|e of MCL|
|00003bc0| 4b 2c 20 61 6e 64 20 65 | 76 65 72 79 20 4d 43 4c |K, and e|very MCL|
|00003bd0| 4b 20 63 6c 6f 63 6b 20 | 63 79 63 6c 65 20 73 74 |K clock |cycle st|
|00003be0| 61 72 74 73 20 61 74 20 | 6a 75 73 74 20 61 62 6f |arts at |just abo|
|00003bf0| 75 74 20 74 68 65 0a 73 | 61 6d 65 20 74 69 6d 65 |ut the.s|ame time|
|00003c00| 20 61 73 20 61 6e 20 46 | 43 4c 4b 20 63 79 63 6c | as an F|CLK cycl|
|00003c10| 65 29 20 6f 72 20 61 73 | 79 6e 63 68 72 6f 6e 6f |e) or as|ynchrono|
|00003c20| 75 73 20 28 69 6e 20 77 | 68 69 63 68 20 63 61 73 |us (in w|hich cas|
|00003c30| 65 20 46 43 4c 4b 20 61 | 6e 64 0a 4d 43 4c 4b 20 |e FCLK a|nd.MCLK |
|00003c40| 63 79 63 6c 65 73 20 63 | 61 6e 20 68 61 76 65 20 |cycles c|an have |
|00003c50| 61 6e 79 20 72 65 6c 61 | 74 69 6f 6e 73 68 69 70 |any rela|tionship|
|00003c60| 20 74 6f 20 65 61 63 68 | 20 6f 74 68 65 72 29 2e | to each| other).|
|00003c70| 0a 3c 50 3e 0a 41 6c 6c | 20 69 6e 20 61 6c 6c 2c |.<P>.All| in all,|
|00003c80| 20 74 68 65 20 73 69 74 | 75 61 74 69 6f 6e 20 69 | the sit|uation i|
|00003c90| 73 20 74 68 65 72 65 66 | 6f 72 65 20 71 75 69 74 |s theref|ore quit|
|00003ca0| 65 20 63 6f 6d 70 6c 69 | 63 61 74 65 64 2e 20 41 |e compli|cated. A|
|00003cb0| 6e 20 61 70 70 72 6f 78 | 69 6d 61 74 69 6f 6e 0a |n approx|imation.|
|00003cc0| 74 6f 20 74 68 65 20 62 | 65 68 61 76 69 6f 75 72 |to the b|ehaviour|
|00003cd0| 20 69 73 20 74 68 61 74 | 20 77 68 65 6e 20 61 20 | is that| when a |
|00003ce0| 63 61 63 68 65 20 6c 69 | 6e 65 20 6d 69 73 73 20 |cache li|ne miss |
|00003cf0| 6f 63 63 75 72 73 2c 20 | 74 68 65 20 63 79 63 6c |occurs, |the cycl|
|00003d00| 65 20 69 6e 76 6f 6c 76 | 65 64 0a 74 61 6b 65 73 |e involv|ed.takes|
|00003d10| 20 74 68 65 20 63 61 63 | 68 65 20 6c 69 6e 65 20 | the cac|he line |
|00003d20| 72 65 66 69 6c 6c 20 74 | 69 6d 65 20 28 69 2e 65 |refill t|ime (i.e|
|00003d30| 2e 20 4e 2b 33 53 20 6f | 72 20 4e 2b 37 53 29 20 |. N+3S o|r N+7S) |
|00003d40| 69 6e 20 4d 43 4c 4b 20 | 63 79 63 6c 65 73 2c 20 |in MCLK |cycles, |
|00003d50| 77 69 74 68 0a 4e 2d 63 | 79 63 6c 65 73 20 61 6e |with.N-c|ycles an|
|00003d60| 64 20 53 2d 63 79 63 6c | 65 73 20 70 72 6f 62 61 |d S-cycl|es proba|
|00003d70| 62 6c 79 20 62 65 69 6e | 67 20 73 74 72 65 74 63 |bly bein|g stretc|
|00003d80| 68 65 64 20 61 73 20 64 | 65 73 63 72 69 62 65 64 |hed as d|escribed|
|00003d90| 20 61 62 6f 76 65 20 66 | 6f 72 20 44 52 41 4d 2c | above f|or DRAM,|
|00003da0| 0a 70 6c 75 73 20 61 20 | 66 65 77 20 6d 6f 72 65 |.plus a |few more|
|00003db0| 20 63 79 63 6c 65 73 20 | 74 6f 20 61 6c 6c 6f 77 | cycles |to allow|
|00003dc0| 20 66 6f 72 20 74 68 65 | 20 72 65 73 79 6e 63 68 | for the| resynch|
|00003dd0| 72 6f 6e 69 73 61 74 69 | 6f 6e 20 70 65 72 69 6f |ronisati|on perio|
|00003de0| 64 73 2e 20 46 6f 72 20 | 61 6e 79 0a 6d 6f 72 65 |ds. For |any.more|
|00003df0| 20 64 65 74 61 69 6c 73 | 2c 20 79 6f 75 20 72 65 | details|, you re|
|00003e00| 61 6c 6c 79 20 6e 65 65 | 64 20 74 6f 20 67 65 74 |ally nee|d to get|
|00003e10| 20 61 20 64 61 74 61 73 | 68 65 65 74 20 66 6f 72 | a datas|heet for|
|00003e20| 20 74 68 65 20 70 72 6f | 63 65 73 73 6f 72 20 69 | the pro|cessor i|
|00003e30| 6e 76 6f 6c 76 65 64 2e | 0a 3c 50 3e 0a 3c 41 20 |nvolved.|.<P>.<A |
|00003e40| 4e 41 4d 45 3d 22 46 6f | 6f 74 6e 6f 74 65 31 22 |NAME="Fo|otnote1"|
|00003e50| 3e 46 6f 6f 74 6e 6f 74 | 65 20 31 3a 3c 2f 41 3e |>Footnot|e 1:</A>|
|00003e60| 20 4d 65 6d 6f 72 79 20 | 63 6f 6e 74 72 6f 6c 6c | Memory |controll|
|00003e70| 65 72 73 20 74 65 6e 64 | 20 74 6f 20 75 73 65 20 |ers tend| to use |
|00003e80| 74 68 69 73 20 73 69 6d | 70 6c 65 20 73 74 72 61 |this sim|ple stra|
|00003e90| 74 65 67 79 3a 20 69 66 | 20 61 6e 20 4e 2d 63 79 |tegy: if| an N-cy|
|00003ea0| 63 6c 65 20 69 73 20 72 | 65 71 75 65 73 74 65 64 |cle is r|equested|
|00003eb0| 2c 20 74 72 65 61 74 20 | 74 68 65 20 61 63 63 65 |, treat |the acce|
|00003ec0| 73 73 20 61 73 20 6e 6f | 74 20 62 65 69 6e 67 20 |ss as no|t being |
|00003ed0| 69 6e 20 74 68 65 20 73 | 61 6d 65 20 72 6f 77 3b |in the s|ame row;|
|00003ee0| 20 69 66 20 61 6e 20 53 | 2d 63 79 63 6c 65 20 69 | if an S|-cycle i|
|00003ef0| 73 20 72 65 71 75 65 73 | 74 65 64 2c 20 74 72 65 |s reques|ted, tre|
|00003f00| 61 74 20 74 68 65 20 61 | 63 63 65 73 73 20 61 73 |at the a|ccess as|
|00003f10| 20 62 65 69 6e 67 20 69 | 6e 20 74 68 65 20 73 61 | being i|n the sa|
|00003f20| 6d 65 20 72 6f 77 20 75 | 6e 6c 65 73 73 20 69 74 |me row u|nless it|
|00003f30| 20 69 73 20 65 66 66 65 | 63 74 69 76 65 6c 79 20 | is effe|ctively |
|00003f40| 74 68 65 20 6c 61 73 74 | 20 77 6f 72 64 20 69 6e |the last| word in|
|00003f50| 20 74 68 65 20 72 6f 77 | 20 28 77 68 69 63 68 20 | the row| (which |
|00003f60| 63 61 6e 20 62 65 20 64 | 65 74 65 63 74 65 64 20 |can be d|etected |
|00003f70| 71 75 69 63 6b 6c 79 29 | 2e 20 54 68 65 20 6e 65 |quickly)|. The ne|
|00003f80| 74 20 72 65 73 75 6c 74 | 20 69 73 20 74 68 61 74 |t result| is that|
|00003f90| 20 3c 42 3e 73 6f 6d 65 | 3c 2f 42 3e 20 53 2d 63 | <B>some|</B> S-c|
|00003fa0| 79 63 6c 65 73 20 77 69 | 6c 6c 20 6c 61 73 74 20 |ycles wi|ll last |
|00003fb0| 74 68 65 20 73 61 6d 65 | 20 74 69 6d 65 20 61 73 |the same| time as|
|00003fc0| 20 61 6e 20 4e 2d 63 79 | 63 6c 65 3b 20 69 66 20 | an N-cy|cle; if |
|00003fd0| 49 20 72 65 6d 65 6d 62 | 65 72 20 63 6f 72 72 65 |I rememb|er corre|
|00003fe0| 63 74 6c 79 2c 20 6f 6e | 20 61 6e 20 41 72 63 68 |ctly, on| an Arch|
|00003ff0| 69 6d 65 64 65 73 20 74 | 68 65 73 65 20 61 72 65 |imedes t|hese are|
|00004000| 20 53 2d 63 79 63 6c 65 | 20 61 63 63 65 73 73 65 | S-cycle| accesse|
|00004010| 73 20 74 6f 20 61 6e 20 | 61 64 64 72 65 73 73 20 |s to an |address |
|00004020| 77 68 69 63 68 20 69 73 | 20 64 69 76 69 73 69 62 |which is| divisib|
|00004030| 6c 65 20 62 79 20 31 36 | 2e 20 54 68 65 20 70 72 |le by 16|. The pr|
|00004040| 61 63 74 69 63 61 6c 20 | 63 6f 6e 73 65 71 75 65 |actical |conseque|
|00004050| 6e 63 65 73 20 6f 66 20 | 74 68 69 73 20 66 6f 72 |nces of |this for|
|00004060| 20 41 72 63 68 69 6d 65 | 64 65 73 20 63 6f 64 65 | Archime|des code|
|00004070| 20 61 72 65 3a 20 28 61 | 29 20 74 68 61 74 20 61 | are: (a|) that a|
|00004080| 62 6f 75 74 20 31 20 69 | 6e 20 34 20 53 2d 63 79 |bout 1 i|n 4 S-cy|
|00004090| 63 6c 65 73 20 62 65 63 | 6f 6d 65 73 20 61 6e 20 |cles bec|omes an |
|000040a0| 4e 2d 63 79 63 6c 65 2c | 20 73 69 6e 63 65 20 66 |N-cycle,| since f|
|000040b0| 6f 72 20 74 68 69 73 20 | 70 75 72 70 6f 73 65 2c |or this |purpose,|
|000040c0| 20 61 6c 6c 20 61 64 64 | 72 65 73 73 65 73 20 61 | all add|resses a|
|000040d0| 72 65 20 77 6f 72 64 20 | 61 64 64 72 65 73 73 65 |re word |addresse|
|000040e0| 73 20 61 6e 64 20 73 6f | 20 64 69 76 69 73 69 62 |s and so| divisib|
|000040f0| 6c 65 20 62 79 20 34 3b | 20 28 62 29 20 74 68 61 |le by 4;| (b) tha|
|00004100| 74 20 69 74 20 69 73 20 | 6f 63 63 61 73 69 6f 6e |t it is |occasion|
|00004110| 61 6c 6c 79 20 77 6f 72 | 74 68 20 74 61 6b 69 6e |ally wor|th takin|
|00004120| 67 20 63 61 72 65 20 74 | 6f 20 61 6c 69 67 6e 20 |g care t|o align |
|00004130| 63 6f 64 65 20 63 61 72 | 65 66 75 6c 6c 79 20 74 |code car|efully t|
|00004140| 6f 20 61 76 6f 69 64 20 | 74 68 69 73 20 65 66 66 |o avoid |this eff|
|00004150| 65 63 74 20 61 6e 64 20 | 67 65 74 20 73 6f 6d 65 |ect and |get some|
|00004160| 20 65 78 74 72 61 20 70 | 65 72 66 6f 72 6d 61 6e | extra p|erforman|
|00004170| 63 65 2e 29 0a 3c 50 3e | 0a 3c 48 52 3e 3c 41 20 |ce.).<P>|.<HR><A |
|00004180| 4e 41 4d 45 3d 22 49 6e | 73 74 72 75 63 74 69 6f |NAME="In|structio|
|00004190| 6e 73 22 3e 3c 48 32 3e | 0a 49 6e 73 74 72 75 63 |ns"><H2>|.Instruc|
|000041a0| 74 69 6f 6e 73 0a 3c 2f | 48 32 3e 3c 2f 41 3e 0a |tions.</|H2></A>.|
|000041b0| 3c 50 3e 0a 45 61 63 68 | 20 41 52 4d 20 69 6e 73 |<P>.Each| ARM ins|
|000041c0| 74 72 75 63 74 69 6f 6e | 20 69 73 20 33 32 20 62 |truction| is 32 b|
|000041d0| 69 74 73 20 77 69 64 65 | 2c 20 61 6e 64 20 61 72 |its wide|, and ar|
|000041e0| 65 20 65 78 70 6c 61 69 | 6e 65 64 20 69 6e 20 6d |e explai|ned in m|
|000041f0| 6f 72 65 20 64 65 74 61 | 69 6c 0a 62 65 6c 6f 77 |ore deta|il.below|
|00004200| 2e 20 46 6f 72 20 65 61 | 63 68 20 69 6e 73 74 72 |. For ea|ch instr|
|00004210| 75 63 74 69 6f 6e 20 63 | 6c 61 73 73 20 77 65 20 |uction c|lass we |
|00004220| 67 69 76 65 20 74 68 65 | 20 69 6e 73 74 72 75 63 |give the| instruc|
|00004230| 74 69 6f 6e 20 62 69 74 | 6d 61 70 2c 20 61 6e 64 |tion bit|map, and|
|00004240| 0a 61 6e 20 65 78 61 6d | 70 6c 65 20 6f 66 20 74 |.an exam|ple of t|
|00004250| 68 65 20 73 79 6e 74 61 | 78 20 75 73 65 64 20 62 |he synta|x used b|
|00004260| 79 20 61 20 74 79 70 69 | 63 61 6c 20 61 73 73 65 |y a typi|cal asse|
|00004270| 6d 62 6c 65 72 2e 0a 3c | 50 3e 0a 49 74 20 73 68 |mbler..<|P>.It sh|
|00004280| 6f 75 6c 64 20 6f 66 20 | 63 6f 75 72 73 65 20 62 |ould of |course b|
|00004290| 65 20 6e 6f 74 65 64 20 | 74 68 61 74 20 74 68 65 |e noted |that the|
|000042a0| 20 6d 6e 65 6d 6f 6e 69 | 63 20 73 79 6e 74 61 78 | mnemoni|c syntax|
|000042b0| 20 69 73 20 6e 6f 74 20 | 66 69 78 65 64 3b 20 69 | is not |fixed; i|
|000042c0| 74 0a 69 73 20 61 20 70 | 72 6f 70 65 72 74 79 20 |t.is a p|roperty |
|000042d0| 6f 66 20 74 68 65 20 61 | 73 73 65 6d 62 6c 65 72 |of the a|ssembler|
|000042e0| 2c 20 6e 6f 74 20 74 68 | 65 20 41 52 4d 20 6d 61 |, not th|e ARM ma|
|000042f0| 63 68 69 6e 65 20 63 6f | 64 65 2e 0a 3c 50 3e 0a |chine co|de..<P>.|
|00004300| 3c 41 20 4e 41 4d 45 3d | 22 43 6f 6e 64 69 74 69 |<A NAME=|"Conditi|
|00004310| 6f 6e 22 3e 3c 48 33 3e | 0a 43 6f 6e 64 69 74 69 |on"><H3>|.Conditi|
|00004320| 6f 6e 20 43 6f 64 65 0a | 3c 2f 48 33 3e 3c 2f 41 |on Code.|</H3></A|
|00004330| 3e 0a 3c 50 3e 0a 54 68 | 65 20 74 6f 70 20 6e 69 |>.<P>.Th|e top ni|
|00004340| 62 62 6c 65 20 6f 66 20 | 65 76 65 72 79 20 69 6e |bble of |every in|
|00004350| 73 74 72 75 63 74 69 6f | 6e 20 69 73 20 61 20 63 |structio|n is a c|
|00004360| 6f 6e 64 69 74 69 6f 6e | 20 63 6f 64 65 2c 20 73 |ondition| code, s|
|00004370| 6f 20 65 76 65 72 79 0a | 73 69 6e 67 6c 65 20 41 |o every.|single A|
|00004380| 52 4d 20 69 6e 73 74 72 | 75 63 74 69 6f 6e 20 63 |RM instr|uction c|
|00004390| 61 6e 20 62 65 20 72 75 | 6e 20 63 6f 6e 64 69 74 |an be ru|n condit|
|000043a0| 69 6f 6e 61 6c 6c 79 2e | 0a 3c 50 3e 0a 3c 50 52 |ionally.|.<P>.<PR|
|000043b0| 45 3e 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |E>. | |
|000043c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000043d0| 20 20 20 20 20 20 20 43 | 6f 6e 64 0a 49 6e 73 74 | C|ond.Inst|
|000043e0| 72 75 63 74 69 6f 6e 20 | 42 69 74 6d 61 70 20 20 |ruction |Bitmap |
|000043f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004400| 4e 6f 20 20 20 43 6f 6e | 64 20 43 6f 64 65 20 20 |No Con|d Code |
|00004410| 20 20 20 20 20 20 20 20 | 20 20 45 78 65 63 75 74 | | Execut|
|00004420| 65 73 20 69 66 3a 0a 0a | 30 30 30 30 78 78 78 78 |es if:..|0000xxxx|
|00004430| 20 78 78 78 78 78 78 78 | 78 20 78 78 78 78 78 78 | xxxxxxx|x xxxxxx|
|00004440| 78 78 20 78 78 78 78 78 | 78 78 78 20 30 20 20 20 |xx xxxxx|xxx 0 |
|00004450| 20 45 51 28 45 71 75 61 | 6c 29 09 20 20 20 20 20 | EQ(Equa|l). |
|00004460| 20 5a 0a 30 30 30 31 78 | 78 78 78 20 78 78 78 78 | Z.0001x|xxx xxxx|
|00004470| 78 78 78 78 20 78 78 78 | 78 78 78 78 78 20 78 78 |xxxx xxx|xxxxx xx|
|00004480| 78 78 78 78 78 78 20 31 | 20 20 20 20 4e 45 28 4e |xxxxxx 1| NE(N|
|00004490| 6f 74 20 45 71 75 61 6c | 29 09 20 20 20 20 20 20 |ot Equal|). |
|000044a0| 7e 5a 0a 30 30 31 30 78 | 78 78 78 20 78 78 78 78 |~Z.0010x|xxx xxxx|
|000044b0| 78 78 78 78 20 78 78 78 | 78 78 78 78 78 20 78 78 |xxxx xxx|xxxxx xx|
|000044c0| 78 78 78 78 78 78 20 32 | 20 20 20 20 43 53 28 43 |xxxxxx 2| CS(C|
|000044d0| 61 72 72 79 20 53 65 74 | 29 09 20 20 20 20 20 20 |arry Set|). |
|000044e0| 43 0a 30 30 31 31 78 78 | 78 78 20 78 78 78 78 78 |C.0011xx|xx xxxxx|
|000044f0| 78 78 78 20 78 78 78 78 | 78 78 78 78 20 78 78 78 |xxx xxxx|xxxx xxx|
|00004500| 78 78 78 78 78 20 33 20 | 20 20 20 43 43 28 43 61 |xxxxx 3 | CC(Ca|
|00004510| 72 72 79 20 43 6c 65 61 | 72 29 20 20 20 20 20 20 |rry Clea|r) |
|00004520| 7e 43 0a 0a 30 31 30 30 | 78 78 78 78 20 78 78 78 |~C..0100|xxxx xxx|
|00004530| 78 78 78 78 78 20 78 78 | 78 78 78 78 78 78 20 78 |xxxxx xx|xxxxxx x|
|00004540| 78 78 78 78 78 78 78 20 | 34 20 20 20 20 4d 49 28 |xxxxxxx |4 MI(|
|00004550| 4d 49 6e 75 73 29 20 20 | 20 20 20 20 20 20 20 20 |MInus) | |
|00004560| 20 20 4e 0a 30 31 30 31 | 78 78 78 78 20 78 78 78 | N.0101|xxxx xxx|
|00004570| 78 78 78 78 78 20 78 78 | 78 78 78 78 78 78 20 78 |xxxxx xx|xxxxxx x|
|00004580| 78 78 78 78 78 78 78 20 | 35 20 20 20 20 50 4c 28 |xxxxxxx |5 PL(|
|00004590| 50 4c 75 73 29 20 20 20 | 20 20 20 20 20 20 20 20 |PLus) | |
|000045a0| 20 20 7e 4e 0a 30 31 31 | 30 78 78 78 78 20 78 78 | ~N.011|0xxxx xx|
|000045b0| 78 78 78 78 78 78 20 78 | 78 78 78 78 78 78 78 20 |xxxxxx x|xxxxxxx |
|000045c0| 78 78 78 78 78 78 78 78 | 20 36 20 20 20 20 56 53 |xxxxxxxx| 6 VS|
|000045d0| 28 6f 56 65 72 66 6c 6f | 77 20 53 65 74 29 20 20 |(oVerflo|w Set) |
|000045e0| 20 20 20 56 0a 30 31 31 | 31 78 78 78 78 20 78 78 | V.011|1xxxx xx|
|000045f0| 78 78 78 78 78 78 20 78 | 78 78 78 78 78 78 78 20 |xxxxxx x|xxxxxxx |
|00004600| 78 78 78 78 78 78 78 78 | 20 37 20 20 20 20 56 43 |xxxxxxxx| 7 VC|
|00004610| 28 6f 56 65 72 66 6c 6f | 77 20 43 6c 65 61 72 29 |(oVerflo|w Clear)|
|00004620| 20 20 20 7e 56 0a 0a 31 | 30 30 30 78 78 78 78 20 | ~V..1|000xxxx |
|00004630| 78 78 78 78 78 78 78 78 | 20 78 78 78 78 78 78 78 |xxxxxxxx| xxxxxxx|
|00004640| 78 20 78 78 78 78 78 78 | 78 78 20 38 20 20 20 20 |x xxxxxx|xx 8 |
|00004650| 48 49 28 48 49 67 68 65 | 72 29 20 20 20 20 20 20 |HI(HIghe|r) |
|00004660| 20 20 20 20 20 43 20 61 | 6e 64 20 7e 5a 0a 31 30 | C a|nd ~Z.10|
|00004670| 30 31 78 78 78 78 20 78 | 78 78 78 78 78 78 78 20 |01xxxx x|xxxxxxx |
|00004680| 78 78 78 78 78 78 78 78 | 20 78 78 78 78 78 78 78 |xxxxxxxx| xxxxxxx|
|00004690| 78 20 39 20 20 20 20 4c | 53 28 4c 6f 77 65 72 20 |x 9 L|S(Lower |
|000046a0| 6f 72 20 53 61 6d 65 29 | 20 20 20 20 7e 43 20 61 |or Same)| ~C a|
|000046b0| 6e 64 20 20 5a 0a 31 30 | 31 30 78 78 78 78 20 78 |nd Z.10|10xxxx x|
|000046c0| 78 78 78 78 78 78 78 20 | 78 78 78 78 78 78 78 78 |xxxxxxx |xxxxxxxx|
|000046d0| 20 78 78 78 78 78 78 78 | 78 20 41 20 20 20 20 47 | xxxxxxx|x A G|
|000046e0| 45 28 47 72 65 61 74 65 | 72 20 6f 72 20 65 71 75 |E(Greate|r or equ|
|000046f0| 61 6c 29 20 4e 20 3d 20 | 20 56 0a 31 30 31 31 78 |al) N = | V.1011x|
|00004700| 78 78 78 20 78 78 78 78 | 78 78 78 78 20 78 78 78 |xxx xxxx|xxxx xxx|
|00004710| 78 78 78 78 78 20 78 78 | 78 78 78 78 78 78 20 42 |xxxxx xx|xxxxxx B|
|00004720| 20 20 20 20 4c 54 28 4c | 65 73 73 20 54 68 61 6e | LT(L|ess Than|
|00004730| 29 09 20 20 20 20 20 20 | 4e 20 3d 20 7e 56 0a 0a |). |N = ~V..|
|00004740| 31 31 30 30 78 78 78 78 | 20 78 78 78 78 78 78 78 |1100xxxx| xxxxxxx|
|00004750| 78 20 78 78 78 78 78 78 | 78 78 20 78 78 78 78 78 |x xxxxxx|xx xxxxx|
|00004760| 78 78 78 20 43 20 20 20 | 20 47 54 28 47 72 65 61 |xxx C | GT(Grea|
|00004770| 74 65 72 20 54 68 61 6e | 29 20 20 20 20 20 28 4e |ter Than|) (N|
|00004780| 20 3d 20 20 56 29 20 61 | 6e 64 20 7e 5a 0a 31 31 | = V) a|nd ~Z.11|
|00004790| 30 31 78 78 78 78 20 78 | 78 78 78 78 78 78 78 20 |01xxxx x|xxxxxxx |
|000047a0| 78 78 78 78 78 78 78 78 | 20 78 78 78 78 78 78 78 |xxxxxxxx| xxxxxxx|
|000047b0| 78 20 44 20 20 20 20 4c | 45 28 4c 65 73 73 20 6f |x D L|E(Less o|
|000047c0| 72 20 65 71 75 61 6c 29 | 20 20 20 20 28 4e 20 3d |r equal)| (N =|
|000047d0| 20 7e 56 29 20 6f 72 20 | 20 20 5a 0a 31 31 31 30 | ~V) or | Z.1110|
|000047e0| 78 78 78 78 20 78 78 78 | 78 78 78 78 78 20 78 78 |xxxx xxx|xxxxx xx|
|000047f0| 78 78 78 78 78 78 20 78 | 78 78 78 78 78 78 78 20 |xxxxxx x|xxxxxxx |
|00004800| 45 20 20 20 20 41 4c 28 | 41 6c 77 61 79 73 29 09 |E AL(|Always).|
|00004810| 20 20 20 20 20 20 54 72 | 75 65 0a 31 31 31 31 78 | Tr|ue.1111x|
|00004820| 78 78 78 20 78 78 78 78 | 78 78 78 78 20 78 78 78 |xxx xxxx|xxxx xxx|
|00004830| 78 78 78 78 78 20 78 78 | 78 78 78 78 78 78 20 46 |xxxxx xx|xxxxxx F|
|00004840| 20 20 20 20 4e 56 28 4e | 65 76 65 72 29 09 20 20 | NV(N|ever). |
|00004850| 20 20 20 20 46 61 6c 73 | 65 0a 3c 2f 50 52 45 3e | Fals|e.</PRE>|
|00004860| 0a 3c 50 3e 0a 49 6e 20 | 6d 6f 73 74 20 61 73 73 |.<P>.In |most ass|
|00004870| 65 6d 62 6c 65 72 73 2c | 20 74 68 65 20 63 6f 6e |emblers,| the con|
|00004880| 64 69 74 69 6f 6e 20 63 | 6f 64 65 20 69 73 20 69 |dition c|ode is i|
|00004890| 6e 73 65 72 74 65 64 20 | 69 6d 6d 65 64 69 61 74 |nserted |immediat|
|000048a0| 65 6c 79 20 61 66 74 65 | 72 0a 74 68 65 20 6d 6e |ely afte|r.the mn|
|000048b0| 65 6d 6f 6e 69 63 20 73 | 74 75 62 3b 20 6f 6d 69 |emonic s|tub; omi|
|000048c0| 74 74 69 6e 67 20 61 20 | 63 6f 6e 64 69 74 69 6f |tting a |conditio|
|000048d0| 6e 20 63 6f 64 65 20 64 | 65 66 61 75 6c 74 73 20 |n code d|efaults |
|000048e0| 74 6f 20 41 4c 20 62 65 | 69 6e 67 0a 75 73 65 64 |to AL be|ing.used|
|000048f0| 2e 0a 3c 50 3e 0a 48 53 | 20 28 48 69 67 68 65 72 |..<P>.HS| (Higher|
|00004900| 20 6f 72 20 53 61 6d 65 | 29 20 61 6e 64 20 4c 4f | or Same|) and LO|
|00004910| 20 28 4c 4f 77 65 72 29 | 20 63 61 6e 20 62 65 20 | (LOwer)| can be |
|00004920| 75 73 65 64 20 61 73 20 | 73 79 6e 6f 6e 79 6d 73 |used as |synonyms|
|00004930| 20 66 6f 72 20 43 53 20 | 61 6e 64 0a 43 43 20 28 | for CS |and.CC (|
|00004940| 72 65 73 70 65 63 74 69 | 76 65 6c 79 29 20 69 6e |respecti|vely) in|
|00004950| 20 73 6f 6d 65 20 61 73 | 73 65 6d 62 6c 65 72 73 | some as|semblers|
|00004960| 2e 0a 3c 50 3e 0a 54 68 | 65 20 63 6f 6e 64 69 74 |..<P>.Th|e condit|
|00004970| 69 6f 6e 73 20 47 54 2c | 20 47 45 2c 20 4c 54 2c |ions GT,| GE, LT,|
|00004980| 20 4c 45 20 72 65 66 65 | 72 20 74 6f 20 73 69 67 | LE refe|r to sig|
|00004990| 6e 65 64 20 63 6f 6d 70 | 61 72 69 73 6f 6e 73 20 |ned comp|arisons |
|000049a0| 77 68 65 72 65 61 73 20 | 48 53 2c 0a 48 49 2c 20 |whereas |HS,.HI, |
|000049b0| 4c 53 2c 20 4c 4f 20 72 | 65 66 65 72 20 74 6f 20 |LS, LO r|efer to |
|000049c0| 75 6e 73 69 67 6e 65 64 | 2e 0a 3c 50 3e 0a 45 4f |unsigned|..<P>.EO|
|000049d0| 52 69 6e 67 20 61 20 63 | 6f 6e 64 69 74 69 6f 6e |Ring a c|ondition|
|000049e0| 20 63 6f 64 65 20 77 69 | 74 68 20 31 20 67 69 76 | code wi|th 1 giv|
|000049f0| 65 73 20 74 68 65 20 6f | 70 70 6f 73 69 74 65 20 |es the o|pposite |
|00004a00| 63 6f 6e 64 69 74 69 6f | 6e 20 63 6f 64 65 2e 0a |conditio|n code..|
|00004a10| 3c 50 3e 0a 4e 42 3a 20 | 41 52 4d 20 68 61 76 65 |<P>.NB: |ARM have|
|00004a20| 20 64 65 70 72 65 63 61 | 74 65 64 20 74 68 65 20 | depreca|ted the |
|00004a30| 75 73 65 20 6f 66 20 74 | 68 65 20 4e 56 20 63 6f |use of t|he NV co|
|00004a40| 6e 64 69 74 69 6f 6e 20 | 63 6f 64 65 20 2d 20 79 |ndition |code - y|
|00004a50| 6f 75 20 61 72 65 20 6e | 6f 77 0a 73 75 70 70 6f |ou are n|ow.suppo|
|00004a60| 73 65 64 20 74 6f 20 75 | 73 65 20 4d 4f 56 20 52 |sed to u|se MOV R|
|00004a70| 30 2c 52 30 20 61 73 20 | 61 20 6e 6f 6f 70 20 72 |0,R0 as |a noop r|
|00004a80| 61 74 68 65 72 20 74 68 | 61 6e 20 4d 4f 56 4e 56 |ather th|an MOVNV|
|00004a90| 20 52 30 2c 52 30 20 61 | 73 20 77 61 73 0a 70 72 | R0,R0 a|s was.pr|
|00004aa0| 65 76 69 6f 75 73 6c 79 | 20 72 65 63 6f 6d 6d 65 |eviously| recomme|
|00004ab0| 6e 64 65 64 2e 20 46 75 | 74 75 72 65 20 70 72 6f |nded. Fu|ture pro|
|00004ac0| 63 65 73 73 6f 72 73 20 | 6d 61 79 20 68 61 76 65 |cessors |may have|
|00004ad0| 20 74 68 65 20 4e 56 20 | 63 6f 6e 64 69 74 69 6f | the NV |conditio|
|00004ae0| 6e 0a 63 6f 64 65 20 72 | 65 75 73 65 64 20 74 6f |n.code r|eused to|
|00004af0| 20 64 6f 20 6f 74 68 65 | 72 20 74 68 69 6e 67 73 | do othe|r things|
|00004b00| 2e 0a 3c 50 3e 0a 49 6e | 73 74 72 75 63 74 69 6f |..<P>.In|structio|
|00004b10| 6e 73 20 77 69 74 68 20 | 66 61 6c 73 65 20 63 6f |ns with |false co|
|00004b20| 6e 64 69 74 69 6f 6e 73 | 20 65 78 65 63 75 74 65 |nditions| execute|
|00004b30| 20 69 6e 20 31 53 20 63 | 79 63 6c 65 2c 20 61 6e | in 1S c|ycle, an|
|00004b40| 64 20 6e 6f 20 74 69 6d | 65 0a 70 65 6e 61 6c 74 |d no tim|e.penalt|
|00004b50| 79 20 69 73 20 69 6e 63 | 75 72 72 65 64 20 62 79 |y is inc|urred by|
|00004b60| 20 6d 61 6b 69 6e 67 20 | 61 6e 20 69 6e 73 74 72 | making |an instr|
|00004b70| 75 63 74 69 6f 6e 20 63 | 6f 6e 64 69 74 69 6f 6e |uction c|ondition|
|00004b80| 61 6c 2e 0a 3c 50 3e 0a | 3c 41 20 4e 41 4d 45 3d |al..<P>.|<A NAME=|
|00004b90| 22 44 61 74 61 22 3e 3c | 48 33 3e 0a 44 61 74 61 |"Data"><|H3>.Data|
|00004ba0| 20 50 72 6f 63 65 73 73 | 69 6e 67 20 49 6e 73 74 | Process|ing Inst|
|00004bb0| 72 75 63 74 69 6f 6e 73 | 0a 3c 2f 48 33 3e 3c 2f |ructions|.</H3></|
|00004bc0| 41 3e 0a 3c 50 3e 0a 3c | 50 52 45 3e 0a 78 78 78 |A>.<P>.<|PRE>.xxx|
|00004bd0| 78 30 30 30 61 20 61 61 | 61 53 6e 6e 6e 6e 20 64 |x000a aa|aSnnnn d|
|00004be0| 64 64 64 63 63 63 63 20 | 63 74 74 74 6d 6d 6d 6d |dddcccc |ctttmmmm|
|00004bf0| 20 20 52 65 67 69 73 74 | 65 72 20 66 6f 72 6d 0a | Regist|er form.|
|00004c00| 78 78 78 78 30 30 31 61 | 20 61 61 61 53 6e 6e 6e |xxxx001a| aaaSnnn|
|00004c10| 6e 20 64 64 64 64 72 72 | 72 72 20 62 62 62 62 62 |n ddddrr|rr bbbbb|
|00004c20| 62 62 62 20 20 49 6d 6d | 65 64 69 61 74 65 20 66 |bbb Imm|ediate f|
|00004c30| 6f 72 6d 0a 3c 2f 50 52 | 45 3e 0a 3c 50 3e 0a 54 |orm.</PR|E>.<P>.T|
|00004c40| 79 70 69 63 61 6c 20 41 | 73 73 65 6d 62 6c 65 72 |ypical A|ssembler|
|00004c50| 20 53 79 6e 74 61 78 3a | 0a 3c 50 52 45 3e 0a 0a | Syntax:|.<PRE>..|
|00004c60| 20 20 20 20 20 20 20 20 | 4d 4f 56 20 20 20 20 52 | |MOV R|
|00004c70| 64 2c 20 23 30 0a 20 20 | 20 20 20 20 20 20 41 44 |d, #0. | AD|
|00004c80| 44 45 51 53 20 52 64 2c | 20 52 6e 2c 20 52 6d 2c |DEQS Rd,| Rn, Rm,|
|00004c90| 20 41 53 4c 20 52 63 0a | 20 20 20 20 20 20 20 20 | ASL Rc.| |
|00004ca0| 41 4e 44 45 51 20 20 52 | 64 2c 20 52 6e 2c 20 52 |ANDEQ R|d, Rn, R|
|00004cb0| 6d 0a 20 20 20 20 20 20 | 20 20 54 45 51 50 20 20 |m. | TEQP |
|00004cc0| 20 50 6e 2c 20 23 26 61 | 6d 70 3b 38 30 30 30 30 | Pn, #&a|mp;80000|
|00004cd0| 30 30 30 0a 20 20 20 20 | 20 20 20 20 43 4d 50 20 |000. | CMP |
|00004ce0| 20 20 20 52 6e 2c 20 52 | 6d 0a 3c 2f 50 52 45 3e | Rn, R|m.</PRE>|
|00004cf0| 0a 3c 50 3e 0a 43 6f 6d | 62 69 6e 65 20 63 6f 6e |.<P>.Com|bine con|
|00004d00| 74 65 6e 74 73 20 6f 66 | 20 52 6e 20 77 69 74 68 |tents of| Rn with|
|00004d10| 20 4f 70 32 2c 20 75 6e | 64 65 72 20 6f 70 65 72 | Op2, un|der oper|
|00004d20| 61 74 69 6f 6e 20 61 2c | 20 70 6c 61 63 69 6e 67 |ation a,| placing|
|00004d30| 20 74 68 65 0a 72 65 73 | 75 6c 74 73 20 69 6e 20 | the.res|ults in |
|00004d40| 52 64 2e 0a 3c 50 3e 0a | 49 66 20 74 68 65 20 72 |Rd..<P>.|If the r|
|00004d50| 65 67 69 73 74 65 72 20 | 66 6f 72 6d 20 69 73 20 |egister |form is |
|00004d60| 75 73 65 64 2c 20 74 68 | 65 6e 20 4f 70 32 20 69 |used, th|en Op2 i|
|00004d70| 73 20 73 65 74 20 74 6f | 20 62 65 20 74 68 65 20 |s set to| be the |
|00004d80| 63 6f 6e 74 65 6e 74 73 | 20 6f 66 20 52 6d 0a 73 |contents| of Rm.s|
|00004d90| 68 69 66 74 65 64 20 61 | 63 63 6f 72 64 69 6e 67 |hifted a|ccording|
|00004da0| 20 74 6f 20 74 20 61 73 | 20 62 65 6c 6f 77 2e 20 | to t as| below. |
|00004db0| 20 49 66 20 74 68 65 20 | 69 6d 6d 65 64 69 61 74 | If the |immediat|
|00004dc0| 65 20 66 6f 72 6d 20 69 | 73 20 75 73 65 64 2c 20 |e form i|s used, |
|00004dd0| 74 68 65 6e 0a 4f 70 32 | 20 3d 20 23 62 2c 20 52 |then.Op2| = #b, R|
|00004de0| 4f 52 20 23 32 72 2e 0a | 3c 21 20 63 65 6e 74 65 |OR #2r..|<! cente|
|00004df0| 72 20 42 4f 58 45 44 20 | 3b 0a 63 20 6c 20 73 20 |r BOXED |;.c l s |
|00004e00| 6c 0a 63 20 6c 20 6c 20 | 6c 2e 20 3e 3c 50 52 45 |l.c l l |l. ><PRE|
|00004e10| 3e 0a 20 74 09 41 73 73 | 65 6d 62 6c 65 72 20 20 |>. t.Ass|embler |
|00004e20| 20 20 20 20 20 09 49 6e | 74 65 72 70 72 65 74 61 | .In|terpreta|
|00004e30| 74 69 6f 6e 0a 0a 30 30 | 30 09 4c 53 4c 20 23 63 |tion..00|0.LSL #c|
|00004e40| 09 20 20 20 20 20 20 20 | 20 09 4c 6f 67 69 63 61 |. | .Logica|
|00004e50| 6c 20 53 68 69 66 74 20 | 4c 65 66 74 0a 30 30 31 |l Shift |Left.001|
|00004e60| 09 4c 53 4c 20 52 63 20 | 09 20 20 20 20 20 20 20 |.LSL Rc |. |
|00004e70| 20 09 4c 6f 67 69 63 61 | 6c 20 53 68 69 66 74 20 | .Logica|l Shift |
|00004e80| 4c 65 66 74 0a 30 31 30 | 09 4c 53 52 20 23 63 09 |Left.010|.LSR #c.|
|00004e90| 66 6f 72 20 63 20 21 3d | 20 30 09 4c 6f 67 69 63 |for c !=| 0.Logic|
|00004ea0| 61 6c 20 53 68 69 66 74 | 20 52 69 67 68 74 0a 09 |al Shift| Right..|
|00004eb0| 4c 53 52 20 23 33 32 09 | 66 6f 72 20 63 20 20 3d |LSR #32.|for c =|
|00004ec0| 20 30 0a 30 31 31 09 4c | 53 52 20 52 63 20 09 20 | 0.011.L|SR Rc . |
|00004ed0| 20 20 20 20 20 20 20 09 | 4c 6f 67 69 63 61 6c 20 | .|Logical |
|00004ee0| 53 68 69 66 74 20 52 69 | 67 68 74 0a 31 30 30 09 |Shift Ri|ght.100.|
|00004ef0| 41 53 52 20 23 63 09 66 | 6f 72 20 63 20 21 3d 20 |ASR #c.f|or c != |
|00004f00| 30 20 09 41 72 69 74 68 | 6d 65 74 69 63 20 53 68 |0 .Arith|metic Sh|
|00004f10| 69 66 74 20 52 69 67 68 | 74 0a 09 41 53 52 20 23 |ift Righ|t..ASR #|
|00004f20| 33 32 09 66 6f 72 20 63 | 20 20 3d 20 30 0a 31 30 |32.for c| = 0.10|
|00004f30| 31 09 41 53 52 20 52 63 | 20 09 20 20 20 20 20 20 |1.ASR Rc| . |
|00004f40| 20 20 09 41 72 69 74 68 | 6d 65 74 69 63 20 53 68 | .Arith|metic Sh|
|00004f50| 69 66 74 20 52 69 67 68 | 74 0a 31 31 30 09 52 4f |ift Righ|t.110.RO|
|00004f60| 52 20 23 63 09 66 6f 72 | 20 63 20 21 3d 20 30 20 |R #c.for| c != 0 |
|00004f70| 09 52 6f 74 61 74 65 20 | 52 69 67 68 74 2e 0a 09 |.Rotate |Right...|
|00004f80| 52 52 58 09 66 6f 72 20 | 63 20 20 3d 20 30 20 09 |RRX.for |c = 0 .|
|00004f90| 52 6f 74 61 74 65 20 52 | 69 67 68 74 20 6f 6e 65 |Rotate R|ight one|
|00004fa0| 20 62 69 74 20 77 69 74 | 68 20 65 78 74 65 6e 64 | bit wit|h extend|
|00004fb0| 2e 0a 31 31 31 09 52 4f | 52 20 52 63 20 09 20 20 |..111.RO|R Rc . |
|00004fc0| 20 20 20 20 20 20 09 52 | 6f 74 61 74 65 20 52 69 | .R|otate Ri|
|00004fd0| 67 68 74 0a 3c 2f 50 52 | 45 3e 0a 3c 50 3e 0a 49 |ght.</PR|E>.<P>.I|
|00004fe0| 6e 20 74 68 65 20 72 65 | 67 69 73 74 65 72 20 66 |n the re|gister f|
|00004ff0| 6f 72 6d 2c 20 52 63 20 | 69 73 20 73 69 67 6e 69 |orm, Rc |is signi|
|00005000| 66 69 65 64 20 62 79 20 | 62 69 74 73 20 38 2d 31 |fied by |bits 8-1|
|00005010| 31 3b 20 62 69 74 20 37 | 20 6d 75 73 74 20 62 65 |1; bit 7| must be|
|00005020| 0a 63 6c 65 61 72 20 69 | 66 20 52 63 20 69 73 20 |.clear i|f Rc is |
|00005030| 75 73 65 64 2e 20 28 49 | 66 20 79 6f 75 20 63 6f |used. (I|f you co|
|00005040| 64 65 20 61 20 31 20 69 | 6e 73 74 65 61 64 2c 20 |de a 1 i|nstead, |
|00005050| 79 6f 75 27 6c 6c 20 67 | 65 74 20 61 20 6d 75 6c |you'll g|et a mul|
|00005060| 74 69 70 6c 79 2c 0a 61 | 20 53 57 50 20 6f 72 20 |tiply,.a| SWP or |
|00005070| 73 6f 6d 65 74 68 69 6e | 67 20 75 6e 61 6c 6c 6f |somethin|g unallo|
|00005080| 63 61 74 65 64 20 69 6e | 73 74 65 61 64 20 6f 66 |cated in|stead of|
|00005090| 20 61 20 64 61 74 61 20 | 70 72 6f 63 65 73 73 69 | a data |processi|
|000050a0| 6e 67 0a 69 6e 73 74 72 | 75 63 74 69 6f 6e 2e 29 |ng.instr|uction.)|
|000050b0| 0a 3c 50 3e 0a 41 6c 73 | 6f 2c 20 6f 6e 6c 79 20 |.<P>.Als|o, only |
|000050c0| 74 68 65 20 62 6f 74 74 | 6f 6d 20 62 79 74 65 20 |the bott|om byte |
|000050d0| 6f 66 20 52 63 20 69 73 | 20 75 73 65 64 20 2d 20 |of Rc is| used - |
|000050e0| 49 66 20 52 63 20 3d 20 | 32 35 36 2c 20 74 68 65 |If Rc = |256, the|
|000050f0| 6e 20 74 68 65 0a 73 68 | 69 66 74 73 20 77 69 6c |n the.sh|ifts wil|
|00005100| 6c 20 62 65 20 62 79 20 | 7a 65 72 6f 2e 0a 3c 50 |l be by |zero..<P|
|00005110| 3e 0a 22 4d 4f 56 5b 53 | 5d 20 52 61 2c 52 62 2c |>."MOV[S|] Ra,Rb,|
|00005120| 52 4c 58 22 20 63 61 6e | 20 62 65 20 64 6f 6e 65 |RLX" can| be done|
|00005130| 20 62 79 20 41 44 43 5b | 53 5d 20 52 61 2c 52 62 | by ADC[|S] Ra,Rb|
|00005140| 2c 52 62 2c 20 77 69 74 | 68 20 52 4c 58 20 6d 65 |,Rb, wit|h RLX me|
|00005150| 61 6e 69 6e 67 0a 52 6f | 74 61 74 65 20 4c 65 66 |aning.Ro|tate Lef|
|00005160| 74 20 6f 6e 65 20 62 69 | 74 20 77 69 74 68 20 65 |t one bi|t with e|
|00005170| 78 74 65 6e 64 2e 0a 3c | 50 3e 0a 4d 6f 73 74 20 |xtend..<|P>.Most |
|00005180| 61 73 73 65 6d 62 6c 65 | 72 73 20 61 6c 6c 6f 77 |assemble|rs allow|
|00005190| 20 41 53 4c 20 74 6f 20 | 62 65 20 75 73 65 64 20 | ASL to |be used |
|000051a0| 61 73 20 61 20 73 79 6e | 6f 6e 79 6d 20 66 6f 72 |as a syn|onym for|
|000051b0| 20 4c 53 4c 2e 20 53 69 | 6e 63 65 0a 6f 70 69 6e | LSL. Si|nce.opin|
|000051c0| 69 6f 6e 73 20 64 69 66 | 66 65 72 20 6f 6e 20 77 |ions dif|fer on w|
|000051d0| 68 61 74 20 61 6e 20 61 | 72 69 74 68 6d 65 74 69 |hat an a|rithmeti|
|000051e0| 63 20 6c 65 66 74 20 73 | 68 69 66 74 20 69 73 2c |c left s|hift is,|
|000051f0| 20 4c 53 4c 20 69 73 20 | 74 68 65 0a 70 72 65 66 | LSL is |the.pref|
|00005200| 65 72 72 65 64 20 74 65 | 72 6d 2e 0a 3c 50 3e 0a |erred te|rm..<P>.|
|00005210| 42 79 20 73 65 74 74 69 | 6e 67 20 74 68 65 20 53 |By setti|ng the S|
|00005220| 20 62 69 74 20 69 6e 20 | 61 20 4d 4f 56 2c 20 4d | bit in |a MOV, M|
|00005230| 56 4e 20 6f 72 20 6c 6f | 67 69 63 61 6c 20 69 6e |VN or lo|gical in|
|00005240| 73 74 72 75 63 74 69 6f | 6e 2c 20 28 69 6e 20 65 |structio|n, (in e|
|00005250| 69 74 68 65 72 0a 74 68 | 65 20 72 65 67 69 73 74 |ither.th|e regist|
|00005260| 65 72 20 6f 72 20 69 6d | 6d 65 64 69 61 74 65 20 |er or im|mediate |
|00005270| 66 6f 72 6d 29 20 74 68 | 65 20 63 61 72 72 79 20 |form) th|e carry |
|00005280| 66 6c 61 67 20 69 73 20 | 73 65 74 20 74 6f 20 62 |flag is |set to b|
|00005290| 65 20 74 68 65 20 6c 61 | 73 74 0a 62 69 74 20 73 |e the la|st.bit s|
|000052a0| 68 69 66 74 65 64 20 6f | 75 74 2e 0a 3c 50 3e 0a |hifted o|ut..<P>.|
|000052b0| 49 66 20 6e 6f 20 73 68 | 69 66 74 20 69 73 20 64 |If no sh|ift is d|
|000052c0| 6f 6e 65 2c 20 74 68 65 | 20 63 61 72 72 79 20 66 |one, the| carry f|
|000052d0| 6c 61 67 20 77 69 6c 6c | 20 62 65 20 75 6e 61 66 |lag will| be unaf|
|000052e0| 66 65 63 74 65 64 2e 0a | 3c 50 3e 0a 49 66 20 74 |fected..|<P>.If t|
|000052f0| 68 65 72 65 20 69 73 20 | 61 20 63 68 6f 69 63 65 |here is |a choice|
|00005300| 20 6f 66 20 66 6f 72 6d | 73 20 66 6f 72 20 61 6e | of form|s for an|
|00005310| 20 69 6d 6d 65 64 69 61 | 74 65 20 28 65 2e 67 2e | immedia|te (e.g.|
|00005320| 20 23 31 20 63 6f 75 6c | 64 20 62 65 0a 72 65 70 | #1 coul|d be.rep|
|00005330| 72 65 73 65 6e 74 65 64 | 20 61 73 20 31 20 52 4f |resented| as 1 RO|
|00005340| 52 20 23 30 2c 20 34 20 | 52 4f 52 20 23 32 2c 20 |R #0, 4 |ROR #2, |
|00005350| 31 36 20 52 4f 52 20 23 | 34 20 6f 72 20 36 34 20 |16 ROR #|4 or 64 |
|00005360| 52 4f 52 20 23 36 29 2c | 20 74 68 65 0a 61 73 73 |ROR #6),| the.ass|
|00005370| 65 6d 62 6c 65 72 20 69 | 73 20 65 78 70 65 63 74 |embler i|s expect|
|00005380| 65 64 20 74 6f 20 75 73 | 65 20 74 68 65 20 6f 6e |ed to us|e the on|
|00005390| 65 20 69 6e 76 6f 6c 76 | 69 6e 67 20 61 20 7a 65 |e involv|ing a ze|
|000053a0| 72 6f 20 72 6f 74 61 74 | 69 6f 6e 2c 20 69 66 0a |ro rotat|ion, if.|
|000053b0| 61 76 61 69 6c 61 62 6c | 65 2e 20 53 6f 20 4d 4f |availabl|e. So MO|
|000053c0| 56 53 20 52 6e 2c 23 63 | 6f 6e 73 74 20 77 69 6c |VS Rn,#c|onst wil|
|000053d0| 6c 20 6c 65 61 76 65 20 | 74 68 65 20 63 61 72 72 |l leave |the carr|
|000053e0| 79 20 66 6c 61 67 20 75 | 6e 61 66 66 65 63 74 65 |y flag u|naffecte|
|000053f0| 64 20 69 66 0a 30 20 26 | 6c 74 3b 3d 20 63 6f 6e |d if.0 &|lt;= con|
|00005400| 73 74 20 26 6c 74 3b 3d | 20 32 35 35 2c 20 62 75 |st &lt;=| 255, bu|
|00005410| 74 20 77 69 6c 6c 20 63 | 68 61 6e 67 65 20 69 74 |t will c|hange it|
|00005420| 20 6f 74 68 65 72 77 69 | 73 65 2e 0a 3c 50 3e 0a | otherwi|se..<P>.|
|00005430| 3c 21 20 63 65 6e 74 65 | 72 20 42 4f 58 45 44 20 |<! cente|r BOXED |
|00005440| 3b 0a 63 20 6c 20 6c 20 | 6c 2e 20 3e 3c 50 52 45 |;.c l l |l. ><PRE|
|00005450| 3e 0a 61 61 61 61 09 41 | 73 73 65 6d 62 6c 65 72 |>.aaaa.A|ssembler|
|00005460| 09 4d 65 61 6e 69 6e 67 | 20 20 20 20 20 20 20 20 |.Meaning| |
|00005470| 20 09 50 2d 43 6f 64 65 | 0a 0a 30 30 30 30 09 41 | .P-Code|..0000.A|
|00005480| 4e 44 20 20 20 20 20 09 | 42 6f 6f 6c 65 61 6e 20 |ND .|Boolean |
|00005490| 41 6e 64 20 20 20 20 20 | 09 52 64 20 3d 20 52 6e |And |.Rd = Rn|
|000054a0| 20 41 4e 44 20 4f 70 32 | 0a 30 30 30 31 09 45 4f | AND Op2|.0001.EO|
|000054b0| 52 20 20 20 20 20 09 42 | 6f 6f 6c 65 61 6e 20 45 |R .B|oolean E|
|000054c0| 6f 72 20 20 20 20 20 09 | 52 64 20 3d 20 52 6e 20 |or .|Rd = Rn |
|000054d0| 45 4f 52 20 4f 70 32 0a | 30 30 31 30 09 53 55 42 |EOR Op2.|0010.SUB|
|000054e0| 20 20 20 20 20 09 53 75 | 62 74 72 61 63 74 20 20 | .Su|btract |
|000054f0| 20 20 20 20 20 20 09 52 | 64 20 3d 20 52 6e 20 20 | .R|d = Rn |
|00005500| 2d 20 20 4f 70 32 0a 30 | 30 31 31 09 52 53 42 20 |- Op2.0|011.RSB |
|00005510| 20 20 20 20 09 52 65 76 | 65 72 73 65 20 53 75 62 | .Rev|erse Sub|
|00005520| 74 72 61 63 74 09 52 64 | 20 3d 20 4f 70 32 20 2d |tract.Rd| = Op2 -|
|00005530| 20 20 52 6e 0a 30 31 30 | 30 09 41 44 44 20 20 20 | Rn.010|0.ADD |
|00005540| 20 20 09 41 64 64 69 74 | 69 6f 6e 20 20 20 20 20 | .Addit|ion |
|00005550| 20 20 20 09 52 64 20 3d | 20 52 6e 20 20 2b 20 20 | .Rd =| Rn + |
|00005560| 4f 70 32 0a 30 31 30 31 | 09 41 44 43 20 20 20 20 |Op2.0101|.ADC |
|00005570| 20 09 41 64 64 20 77 69 | 74 68 20 43 61 72 72 79 | .Add wi|th Carry|
|00005580| 20 20 20 09 52 64 20 3d | 20 52 6e 20 20 2b 20 20 | .Rd =| Rn + |
|00005590| 4f 70 32 20 2b 20 43 0a | 30 31 31 30 09 53 42 43 |Op2 + C.|0110.SBC|
|000055a0| 20 20 20 20 20 09 53 75 | 62 74 72 61 63 74 20 77 | .Su|btract w|
|000055b0| 69 74 68 20 63 61 72 72 | 79 20 09 52 64 20 3d 20 |ith carr|y .Rd = |
|000055c0| 52 6e 20 20 2d 20 20 4f | 70 32 20 2d 20 28 31 2d |Rn - O|p2 - (1-|
|000055d0| 43 29 0a 30 31 31 31 09 | 52 53 43 20 20 20 20 20 |C).0111.|RSC |
|000055e0| 09 52 65 76 65 72 73 65 | 20 73 75 62 20 77 2f 63 |.Reverse| sub w/c|
|000055f0| 61 72 72 79 20 09 52 64 | 20 3d 20 4f 70 32 20 2d |arry .Rd| = Op2 -|
|00005600| 20 20 52 6e 20 20 2d 20 | 28 31 2d 43 29 0a 31 30 | Rn - |(1-C).10|
|00005610| 30 30 09 54 53 54 20 20 | 20 20 20 09 54 65 73 74 |00.TST | .Test|
|00005620| 20 62 69 74 20 20 20 20 | 20 20 20 20 09 52 6e 20 | bit | .Rn |
|00005630| 41 4e 44 20 4f 70 32 0a | 31 30 30 31 09 54 45 51 |AND Op2.|1001.TEQ|
|00005640| 20 20 20 20 20 09 54 65 | 73 74 20 65 71 75 61 6c | .Te|st equal|
|00005650| 69 74 79 20 20 20 09 52 | 6e 20 45 4f 52 20 4f 70 |ity .R|n EOR Op|
|00005660| 32 0a 31 30 31 30 09 43 | 4d 50 20 20 20 20 20 09 |2.1010.C|MP .|
|00005670| 43 6f 6d 70 61 72 65 20 | 20 20 20 20 20 20 20 20 |Compare | |
|00005680| 09 52 6e 20 20 2d 20 20 | 4f 70 32 0a 31 30 31 31 |.Rn - |Op2.1011|
|00005690| 09 43 4d 4e 20 20 20 20 | 20 09 43 6f 6d 70 61 72 |.CMN | .Compar|
|000056a0| 65 20 4e 65 67 61 74 69 | 76 65 09 52 6e 20 20 2b |e Negati|ve.Rn +|
|000056b0| 20 4f 70 32 0a 31 31 30 | 30 09 4f 52 52 20 20 20 | Op2.110|0.ORR |
|000056c0| 20 20 09 42 6f 6f 6c 65 | 61 6e 20 4f 72 20 20 20 | .Boole|an Or |
|000056d0| 20 20 20 09 52 64 20 3d | 20 52 6e 20 4f 52 20 20 | .Rd =| Rn OR |
|000056e0| 4f 70 32 0a 31 31 30 31 | 09 4d 4f 56 20 20 20 20 |Op2.1101|.MOV |
|000056f0| 20 09 4d 6f 76 65 20 76 | 61 6c 75 65 20 20 20 20 | .Move v|alue |
|00005700| 20 20 09 52 64 20 3d 20 | 20 20 20 20 20 20 20 4f | .Rd = | O|
|00005710| 70 32 0a 31 31 31 30 09 | 42 49 43 20 20 20 20 20 |p2.1110.|BIC |
|00005720| 09 42 69 74 20 63 6c 65 | 61 72 20 20 20 20 20 20 |.Bit cle|ar |
|00005730| 20 09 52 64 20 3d 20 52 | 6e 20 41 4e 44 20 4e 4f | .Rd = R|n AND NO|
|00005740| 54 20 4f 70 32 0a 31 31 | 31 31 09 4d 56 4e 20 20 |T Op2.11|11.MVN |
|00005750| 20 20 20 09 4d 6f 76 65 | 20 4e 6f 74 20 20 20 20 | .Move| Not |
|00005760| 20 20 20 20 09 52 64 20 | 3d 20 20 20 20 4e 4f 54 | .Rd |= NOT|
|00005770| 20 4f 70 32 0a 3c 2f 50 | 52 45 3e 0a 4e 6f 74 65 | Op2.</P|RE>.Note|
|00005780| 20 74 68 61 74 20 4d 56 | 4e 20 61 6e 64 20 43 4d | that MV|N and CM|
|00005790| 4e 20 61 72 65 20 6e 6f | 74 20 61 73 20 72 65 6c |N are no|t as rel|
|000057a0| 61 74 65 64 20 61 73 20 | 74 68 65 79 20 66 69 72 |ated as |they fir|
|000057b0| 73 74 20 61 70 70 65 61 | 72 3b 20 4d 56 4e 0a 75 |st appea|r; MVN.u|
|000057c0| 73 65 73 20 73 74 72 61 | 69 67 68 74 20 62 69 74 |ses stra|ight bit|
|000057d0| 77 69 73 65 20 6e 65 67 | 61 74 69 6f 6e 2c 20 73 |wise neg|ation, s|
|000057e0| 65 74 74 69 6e 67 20 52 | 6e 20 74 6f 20 74 68 65 |etting R|n to the|
|000057f0| 20 31 27 73 20 63 6f 6d | 70 6c 65 6d 65 6e 74 20 | 1's com|plement |
|00005800| 6f 66 0a 4f 70 32 2e 20 | 43 4d 4e 20 63 6f 6d 70 |of.Op2. |CMN comp|
|00005810| 61 72 65 73 20 52 6e 20 | 77 69 74 68 20 74 68 65 |ares Rn |with the|
|00005820| 20 32 27 73 20 63 6f 6d | 70 6c 65 6d 65 6e 74 20 | 2's com|plement |
|00005830| 6f 66 20 4f 70 32 2e 0a | 3c 50 3e 0a 54 68 65 73 |of Op2..|<P>.Thes|
|00005840| 65 20 69 6e 73 74 72 75 | 63 74 69 6f 6e 73 20 66 |e instru|ctions f|
|00005850| 61 6c 6c 20 62 72 6f 61 | 64 6c 79 20 69 6e 74 6f |all broa|dly into|
|00005860| 20 34 20 73 75 62 73 65 | 74 73 3a 0a 3c 44 4c 3e | 4 subse|ts:.<DL>|
|00005870| 0a 3c 44 54 3e 20 4d 4f | 56 2c 20 20 4d 56 4e 0a |.<DT> MO|V, MVN.|
|00005880| 3c 44 44 3e 52 6e 20 69 | 73 20 69 67 6e 6f 72 65 |<DD>Rn i|s ignore|
|00005890| 64 2c 20 61 6e 64 20 73 | 68 6f 75 6c 64 20 62 65 |d, and s|hould be|
|000058a0| 20 30 30 30 30 2e 20 49 | 66 20 74 68 65 20 53 20 | 0000. I|f the S |
|000058b0| 62 69 74 20 69 73 20 73 | 65 74 2c 20 4e 20 61 6e |bit is s|et, N an|
|000058c0| 64 20 5a 0a 61 72 65 20 | 73 65 74 20 6f 6e 20 74 |d Z.are |set on t|
|000058d0| 68 65 20 72 65 73 75 6c | 74 2c 20 61 6e 64 20 69 |he resul|t, and i|
|000058e0| 66 20 74 68 65 20 73 68 | 69 66 74 65 72 20 69 73 |f the sh|ifter is|
|000058f0| 20 75 73 65 64 2c 20 43 | 20 69 73 20 73 65 74 20 | used, C| is set |
|00005900| 74 6f 20 62 65 20 74 68 | 65 0a 6c 61 73 74 20 62 |to be th|e.last b|
|00005910| 69 74 20 73 68 69 66 74 | 65 64 20 6f 75 74 2e 20 |it shift|ed out. |
|00005920| 56 20 69 73 20 75 6e 61 | 66 66 65 63 74 65 64 2e |V is una|ffected.|
|00005930| 0a 3c 44 54 3e 20 43 4d | 4e 2c 20 20 43 4d 50 2c |.<DT> CM|N, CMP,|
|00005940| 20 20 54 45 51 2c 20 20 | 54 53 54 0a 3c 44 44 3e | TEQ, |TST.<DD>|
|00005950| 52 64 20 69 73 20 6e 6f | 74 20 73 65 74 20 62 79 |Rd is no|t set by|
|00005960| 20 74 68 65 20 69 6e 73 | 74 72 75 63 74 69 6f 6e | the ins|truction|
|00005970| 2c 20 61 6e 64 20 73 68 | 6f 75 6c 64 20 62 65 20 |, and sh|ould be |
|00005980| 30 30 30 30 2e 20 54 68 | 65 20 53 20 62 69 74 0a |0000. Th|e S bit.|
|00005990| 6d 75 73 74 20 62 65 20 | 73 65 74 20 28 6d 6f 73 |must be |set (mos|
|000059a0| 74 20 61 73 73 65 6d 62 | 6c 65 72 73 20 64 6f 20 |t assemb|lers do |
|000059b0| 74 68 69 73 20 61 75 74 | 6f 6d 61 74 69 63 61 6c |this aut|omatical|
|000059c0| 6c 79 3b 20 69 66 20 69 | 74 20 77 65 72 65 6e 27 |ly; if i|t weren'|
|000059d0| 74 0a 73 65 74 2c 20 74 | 68 65 20 69 6e 73 74 72 |t.set, t|he instr|
|000059e0| 75 63 74 69 6f 6e 20 77 | 6f 75 6c 64 20 62 65 20 |uction w|ould be |
|000059f0| 4d 52 53 2c 20 4d 53 52 | 2c 20 6f 72 20 61 6e 20 |MRS, MSR|, or an |
|00005a00| 75 6e 61 6c 6c 6f 63 61 | 74 65 64 20 6f 6e 65 2e |unalloca|ted one.|
|00005a10| 29 0a 3c 50 3e 0a 54 68 | 65 20 61 72 69 74 68 6d |).<P>.Th|e arithm|
|00005a20| 65 74 69 63 20 6f 70 65 | 72 61 74 69 6f 6e 73 20 |etic ope|rations |
|00005a30| 28 43 4d 4e 2c 20 43 4d | 50 29 20 73 65 74 20 4e |(CMN, CM|P) set N|
|00005a40| 2c 20 5a 20 6f 6e 20 72 | 65 73 75 6c 74 2c 20 61 |, Z on r|esult, a|
|00005a50| 6e 64 20 43 20 61 6e 64 | 0a 56 20 66 72 6f 6d 20 |nd C and|.V from |
|00005a60| 74 68 65 20 41 4c 55 2e | 0a 3c 50 3e 0a 54 68 65 |the ALU.|.<P>.The|
|00005a70| 20 6c 6f 67 69 63 61 6c | 20 6f 70 65 72 61 74 69 | logical| operati|
|00005a80| 6f 6e 73 20 28 54 45 51 | 2c 20 54 53 54 29 20 73 |ons (TEQ|, TST) s|
|00005a90| 65 74 20 4e 20 61 6e 64 | 20 5a 20 6f 6e 20 74 68 |et N and| Z on th|
|00005aa0| 65 20 72 65 73 75 6c 74 | 2c 20 43 0a 66 72 6f 6d |e result|, C.from|
|00005ab0| 20 74 68 65 20 73 68 69 | 66 74 65 72 20 69 66 20 | the shi|fter if |
|00005ac0| 69 74 20 69 73 20 75 73 | 65 64 20 28 69 6e 20 77 |it is us|ed (in w|
|00005ad0| 68 69 63 68 20 63 61 73 | 65 20 69 74 20 62 65 63 |hich cas|e it bec|
|00005ae0| 6f 6d 65 73 20 74 68 65 | 20 6c 61 73 74 0a 62 69 |omes the| last.bi|
|00005af0| 74 20 73 68 69 66 74 65 | 64 20 6f 75 74 29 2c 20 |t shifte|d out), |
|00005b00| 61 6e 64 20 56 20 69 73 | 20 75 6e 61 66 66 65 63 |and V is| unaffec|
|00005b10| 74 65 64 2e 0a 3c 50 3e | 0a 41 73 20 61 20 73 70 |ted..<P>|.As a sp|
|00005b20| 65 63 69 61 6c 20 63 61 | 73 65 20 28 66 6f 72 20 |ecial ca|se (for |
|00005b30| 41 52 4d 73 20 26 67 74 | 3b 3d 20 36 2c 20 74 68 |ARMs &gt|;= 6, th|
|00005b40| 69 73 20 6f 6e 6c 79 20 | 61 70 70 6c 69 65 73 20 |is only |applies |
|00005b50| 74 6f 20 32 36 20 62 69 | 74 0a 63 6f 64 65 29 2c |to 26 bi|t.code),|
|00005b60| 20 74 68 65 20 64 64 64 | 64 20 66 69 65 6c 64 20 | the ddd|d field |
|00005b70| 62 65 69 6e 67 20 31 31 | 31 31 20 63 61 75 73 65 |being 11|11 cause|
|00005b80| 73 20 66 6c 61 67 73 20 | 28 69 6e 20 75 73 65 72 |s flags |(in user|
|00005b90| 20 6d 6f 64 65 29 2c 20 | 6f 72 0a 74 68 65 20 65 | mode), |or.the e|
|00005ba0| 6e 74 69 72 65 20 32 36 | 20 62 69 74 20 50 53 52 |ntire 26| bit PSR|
|00005bb0| 20 28 69 6e 20 70 72 69 | 76 69 6c 65 67 65 64 20 | (in pri|vileged |
|00005bc0| 6d 6f 64 65 73 29 20 74 | 6f 20 62 65 20 73 65 74 |modes) t|o be set|
|00005bd0| 20 66 72 6f 6d 20 74 68 | 65 0a 63 6f 72 72 65 73 | from th|e.corres|
|00005be0| 70 6f 6e 64 69 6e 67 20 | 62 69 74 73 20 6f 66 20 |ponding |bits of |
|00005bf0| 74 68 65 20 72 65 73 75 | 6c 74 2e 20 54 68 69 73 |the resu|lt. This|
|00005c00| 20 69 73 20 69 6e 64 69 | 63 61 74 65 64 20 62 79 | is indi|cated by|
|00005c10| 20 61 20 50 20 73 75 66 | 66 69 78 0a 74 6f 20 74 | a P suf|fix.to t|
|00005c20| 68 65 20 69 6e 73 74 72 | 75 63 74 69 6f 6e 20 2d |he instr|uction -|
|00005c30| 20 43 4d 4e 50 2c 20 43 | 4d 50 50 2c 20 54 45 51 | CMNP, C|MPP, TEQ|
|00005c40| 50 2c 20 54 53 54 50 2e | 20 54 68 69 73 20 69 73 |P, TSTP.| This is|
|00005c50| 20 6d 6f 73 74 20 63 6f | 6d 6d 6f 6e 6c 79 0a 75 | most co|mmonly.u|
|00005c60| 73 65 64 20 74 6f 20 63 | 68 61 6e 67 65 20 6d 6f |sed to c|hange mo|
|00005c70| 64 65 20 76 69 61 20 54 | 45 51 50 20 50 43 2c 23 |de via T|EQP PC,#|
|00005c80| 28 6e 65 77 20 6d 6f 64 | 65 20 6e 75 6d 62 65 72 |(new mod|e number|
|00005c90| 29 2e 20 49 6e 20 33 32 | 20 62 69 74 0a 6d 6f 64 |). In 32| bit.mod|
|00005ca0| 65 73 2c 20 4d 53 52 20 | 73 68 6f 75 6c 64 20 62 |es, MSR |should b|
|00005cb0| 65 20 75 73 65 64 20 69 | 6e 73 74 65 61 64 20 28 |e used i|nstead (|
|00005cc0| 61 73 20 54 45 51 50 20 | 65 74 63 20 77 69 6c 6c |as TEQP |etc will|
|00005cd0| 20 6e 6f 74 20 77 6f 72 | 6b 29 2e 0a 3c 44 54 3e | not wor|k)..<DT>|
|00005ce0| 20 41 44 43 2c 20 20 41 | 44 44 2c 20 20 52 53 42 | ADC, A|DD, RSB|
|00005cf0| 2c 20 20 52 53 43 2c 20 | 20 53 42 43 2c 20 20 53 |, RSC, | SBC, S|
|00005d00| 55 42 0a 3c 44 44 3e 49 | 66 20 74 68 65 20 53 20 |UB.<DD>I|f the S |
|00005d10| 62 69 74 20 69 73 20 73 | 65 74 2c 20 74 68 65 6e |bit is s|et, then|
|00005d20| 20 4e 20 61 6e 64 20 5a | 20 61 72 65 20 73 65 74 | N and Z| are set|
|00005d30| 20 6f 6e 20 72 65 73 75 | 6c 74 2c 20 61 6e 64 20 | on resu|lt, and |
|00005d40| 43 20 61 6e 64 20 56 20 | 61 72 65 0a 73 65 74 20 |C and V |are.set |
|00005d50| 66 72 6f 6d 20 74 68 65 | 20 41 4c 55 2e 0a 3c 44 |from the| ALU..<D|
|00005d60| 54 3e 20 41 4e 44 2c 20 | 20 42 49 43 2c 20 20 45 |T> AND, | BIC, E|
|00005d70| 4f 52 2c 20 20 4f 52 52 | 0a 3c 44 44 3e 49 66 20 |OR, ORR|.<DD>If |
|00005d80| 74 68 65 20 53 20 62 69 | 74 20 69 73 20 73 65 74 |the S bi|t is set|
|00005d90| 2c 20 74 68 65 6e 20 4e | 20 61 6e 64 20 5a 20 61 |, then N| and Z a|
|00005da0| 72 65 20 73 65 74 20 6f | 6e 20 72 65 73 75 6c 74 |re set o|n result|
|00005db0| 2c 20 43 20 69 73 20 73 | 65 74 20 66 72 6f 6d 0a |, C is s|et from.|
|00005dc0| 74 68 65 20 73 68 69 66 | 74 65 72 20 69 66 20 75 |the shif|ter if u|
|00005dd0| 73 65 64 20 28 69 6e 20 | 77 68 69 63 68 20 63 61 |sed (in |which ca|
|00005de0| 73 65 20 69 74 20 62 65 | 63 6f 6d 65 73 20 74 68 |se it be|comes th|
|00005df0| 65 20 6c 61 73 74 20 62 | 69 74 20 73 68 69 66 74 |e last b|it shift|
|00005e00| 65 64 0a 6f 75 74 29 20 | 61 6e 64 20 56 20 69 73 |ed.out) |and V is|
|00005e10| 20 75 6e 61 66 66 65 63 | 74 65 64 2e 0a 3c 2f 44 | unaffec|ted..</D|
|00005e20| 4c 3e 0a 3c 50 3e 0a 41 | 44 44 20 61 6e 64 20 53 |L>.<P>.A|DD and S|
|00005e30| 55 42 20 63 61 6e 20 62 | 65 20 75 73 65 64 20 74 |UB can b|e used t|
|00005e40| 6f 20 6d 61 6b 65 20 72 | 65 67 69 73 74 65 72 73 |o make r|egisters|
|00005e50| 20 70 6f 69 6e 74 20 74 | 6f 20 64 61 74 61 20 69 | point t|o data i|
|00005e60| 6e 20 61 20 70 6f 73 69 | 74 69 6f 6e 0a 69 6e 64 |n a posi|tion.ind|
|00005e70| 65 70 65 6e 64 65 6e 74 | 20 77 61 79 2c 20 65 67 |ependent| way, eg|
|00005e80| 2e 20 41 44 44 20 52 30 | 2c 50 43 2c 23 32 34 2e |. ADD R0|,PC,#24.|
|00005e90| 20 54 68 69 73 20 69 73 | 20 73 6f 20 75 73 65 66 | This is| so usef|
|00005ea0| 75 6c 20 74 68 61 74 20 | 73 6f 6d 65 0a 61 73 73 |ul that |some.ass|
|00005eb0| 65 6d 62 6c 65 72 73 20 | 68 61 76 65 20 61 20 73 |emblers |have a s|
|00005ec0| 70 65 63 69 61 6c 20 64 | 69 72 65 63 74 69 76 65 |pecial d|irective|
|00005ed0| 20 63 61 6c 6c 65 64 20 | 41 44 52 20 77 68 69 63 | called |ADR whic|
|00005ee0| 68 20 67 65 6e 65 72 61 | 74 65 73 20 74 68 65 0a |h genera|tes the.|
|00005ef0| 61 70 70 72 6f 70 72 69 | 61 74 65 20 41 44 44 20 |appropri|ate ADD |
|00005f00| 6f 72 20 53 55 42 20 61 | 75 74 6f 6d 61 74 69 63 |or SUB a|utomatic|
|00005f10| 61 6c 6c 79 2e 20 28 41 | 44 52 20 52 30 2c 20 66 |ally. (A|DR R0, f|
|00005f20| 72 65 64 20 74 79 70 69 | 63 61 6c 6c 79 20 70 75 |red typi|cally pu|
|00005f30| 74 73 20 74 68 65 0a 61 | 64 64 72 65 73 73 20 6f |ts the.a|ddress o|
|00005f40| 66 20 66 72 65 64 20 69 | 6e 74 6f 20 52 30 2c 20 |f fred i|nto R0, |
|00005f50| 61 73 73 75 6d 69 6e 67 | 20 66 72 65 64 20 69 73 |assuming| fred is|
|00005f60| 20 77 69 74 68 69 6e 20 | 72 61 6e 67 65 29 2e 0a | within |range)..|
|00005f70| 3c 50 3e 0a 49 6e 20 32 | 36 2d 62 69 74 20 6d 6f |<P>.In 2|6-bit mo|
|00005f80| 64 65 73 2c 20 73 70 65 | 63 69 61 6c 20 63 61 73 |des, spe|cial cas|
|00005f90| 65 73 20 6f 63 63 75 72 | 20 77 68 65 6e 20 52 31 |es occur| when R1|
|00005fa0| 35 20 69 73 20 6f 6e 65 | 20 6f 66 20 74 68 65 20 |5 is one| of the |
|00005fb0| 72 65 67 69 73 74 65 72 | 73 0a 62 65 69 6e 67 20 |register|s.being |
|00005fc0| 75 73 65 64 3a 0a 3c 55 | 4c 3e 0a 3c 4c 49 3e 0a |used:.<U|L>.<LI>.|
|00005fd0| 49 66 20 52 6e 20 3d 20 | 52 31 35 20 74 68 65 6e |If Rn = |R15 then|
|00005fe0| 20 74 68 65 20 76 61 6c | 75 65 20 75 73 65 64 20 | the val|ue used |
|00005ff0| 69 73 20 52 31 35 20 77 | 69 74 68 20 61 6c 6c 20 |is R15 w|ith all |
|00006000| 74 68 65 20 50 53 52 20 | 62 69 74 73 20 6d 61 73 |the PSR |bits mas|
|00006010| 6b 65 64 20 6f 75 74 2e | 0a 3c 4c 49 3e 0a 49 66 |ked out.|.<LI>.If|
|00006020| 20 4f 70 32 20 69 6e 76 | 6f 6c 76 65 73 20 52 31 | Op2 inv|olves R1|
|00006030| 35 2c 20 74 68 65 6e 20 | 61 6c 6c 20 33 32 20 62 |5, then |all 32 b|
|00006040| 69 74 73 20 61 72 65 20 | 75 73 65 64 2e 0a 3c 2f |its are |used..</|
|00006050| 55 4c 3e 0a 3c 50 3e 0a | 49 6e 20 33 32 2d 62 69 |UL>.<P>.|In 32-bi|
|00006060| 74 20 6d 6f 64 65 73 2c | 20 61 6c 6c 20 74 68 65 |t modes,| all the|
|00006070| 20 62 69 74 73 20 6f 66 | 20 52 31 35 20 61 72 65 | bits of| R15 are|
|00006080| 20 75 73 65 64 2e 0a 3c | 50 3e 0a 49 6e 20 32 36 | used..<|P>.In 26|
|00006090| 2d 62 69 74 20 6d 6f 64 | 65 73 2c 20 69 66 20 52 |-bit mod|es, if R|
|000060a0| 64 20 3d 20 52 31 35 20 | 74 68 65 6e 3a 0a 3c 55 |d = R15 |then:.<U|
|000060b0| 4c 3e 0a 3c 4c 49 3e 0a | 49 66 20 74 68 65 20 53 |L>.<LI>.|If the S|
|000060c0| 20 62 69 74 20 69 73 20 | 6e 6f 74 20 73 65 74 2c | bit is |not set,|
|000060d0| 20 6f 6e 6c 79 20 74 68 | 65 20 32 34 20 62 69 74 | only th|e 24 bit|
|000060e0| 73 20 6f 66 20 74 68 65 | 20 50 43 20 61 72 65 20 |s of the| PC are |
|000060f0| 73 65 74 2e 0a 3c 4c 49 | 3e 0a 49 66 20 74 68 65 |set..<LI|>.If the|
|00006100| 20 53 20 62 69 74 20 69 | 73 20 73 65 74 2c 20 62 | S bit i|s set, b|
|00006110| 6f 74 68 20 74 68 65 20 | 50 43 20 61 6e 64 20 50 |oth the |PC and P|
|00006120| 53 52 20 61 72 65 20 6f | 76 65 72 77 72 69 74 74 |SR are o|verwritt|
|00006130| 65 6e 20 28 74 68 6f 75 | 67 68 20 74 68 65 20 4d |en (thou|gh the M|
|00006140| 6f 64 65 2c 0a 49 20 61 | 6e 64 20 46 20 62 69 74 |ode,.I a|nd F bit|
|00006150| 73 20 77 69 6c 6c 20 6e | 6f 74 20 62 65 20 61 6c |s will n|ot be al|
|00006160| 74 65 72 65 64 20 75 6e | 6c 65 73 73 20 77 65 20 |tered un|less we |
|00006170| 61 72 65 20 69 6e 20 61 | 20 6e 6f 6e 2d 75 73 65 |are in a| non-use|
|00006180| 72 20 6d 6f 64 65 2e 29 | 0a 3c 2f 55 4c 3e 0a 3c |r mode.)|.</UL>.<|
|00006190| 50 3e 0a 46 6f 72 20 33 | 32 2d 62 69 74 20 6d 6f |P>.For 3|2-bit mo|
|000061a0| 64 65 73 2c 20 69 66 20 | 52 64 3d 31 35 2c 20 61 |des, if |Rd=15, a|
|000061b0| 6c 6c 20 74 68 65 20 62 | 69 74 73 20 6f 66 20 74 |ll the b|its of t|
|000061c0| 68 65 20 50 43 20 77 69 | 6c 6c 20 62 65 0a 6f 76 |he PC wi|ll be.ov|
|000061d0| 65 72 77 72 69 74 74 65 | 6e 2c 20 65 78 63 65 70 |erwritte|n, excep|
|000061e0| 74 20 74 68 65 20 74 77 | 6f 20 6c 65 61 73 74 20 |t the tw|o least |
|000061f0| 73 69 67 6e 69 66 69 63 | 61 6e 74 20 62 69 74 73 |signific|ant bits|
|00006200| 2c 20 77 68 69 63 68 20 | 61 72 65 20 61 6c 77 61 |, which |are alwa|
|00006210| 79 73 0a 7a 65 72 6f 2e | 20 20 49 66 20 74 68 65 |ys.zero.| If the|
|00006220| 20 53 20 62 69 74 20 69 | 73 20 6e 6f 74 20 73 65 | S bit i|s not se|
|00006230| 74 2c 20 74 68 61 74 20 | 69 73 20 61 6c 6c 20 74 |t, that |is all t|
|00006240| 68 61 74 20 68 61 70 70 | 65 6e 73 3b 20 69 66 20 |hat happ|ens; if |
|00006250| 74 68 65 20 53 20 62 69 | 74 0a 69 73 20 73 65 74 |the S bi|t.is set|
|00006260| 2c 20 74 68 65 20 53 50 | 53 52 20 66 6f 72 20 74 |, the SP|SR for t|
|00006270| 68 65 20 63 75 72 72 65 | 6e 74 20 6d 6f 64 65 20 |he curre|nt mode |
|00006280| 69 73 20 63 6f 70 69 65 | 64 20 74 6f 20 74 68 65 |is copie|d to the|
|00006290| 20 43 50 53 52 2e 20 59 | 6f 75 0a 73 68 6f 75 6c | CPSR. Y|ou.shoul|
|000062a0| 64 20 6e 6f 74 20 65 78 | 65 63 75 74 65 20 61 20 |d not ex|ecute a |
|000062b0| 64 61 74 61 20 70 72 6f | 63 65 73 73 69 6e 67 20 |data pro|cessing |
|000062c0| 69 6e 73 74 72 75 63 74 | 69 6f 6e 20 77 69 74 68 |instruct|ion with|
|000062d0| 20 74 68 65 20 50 43 20 | 61 73 0a 64 65 73 74 69 | the PC |as.desti|
|000062e0| 6e 61 74 69 6f 6e 20 61 | 6e 64 20 74 68 65 20 53 |nation a|nd the S|
|000062f0| 20 62 69 74 20 73 65 74 | 20 69 6e 20 33 32 2d 62 | bit set| in 32-b|
|00006300| 69 74 20 75 73 65 72 20 | 6d 6f 64 65 2c 20 73 69 |it user |mode, si|
|00006310| 6e 63 65 20 75 73 65 72 | 20 6d 6f 64 65 0a 64 6f |nce user| mode.do|
|00006320| 65 73 20 6e 6f 74 20 68 | 61 76 65 20 61 6e 20 53 |es not h|ave an S|
|00006330| 50 53 52 2e 20 28 42 79 | 20 74 68 65 20 77 61 79 |PSR. (By| the way|
|00006340| 2c 20 79 6f 75 20 77 6f | 6e 27 74 20 62 72 65 61 |, you wo|n't brea|
|00006350| 6b 20 74 68 65 20 70 72 | 6f 63 65 73 73 6f 72 20 |k the pr|ocessor |
|00006360| 62 79 0a 64 6f 69 6e 67 | 20 73 6f 20 2d 20 69 74 |by.doing| so - it|
|00006370| 27 73 20 6a 75 73 74 20 | 74 68 61 74 20 74 68 65 |'s just |that the|
|00006380| 20 72 65 73 75 6c 74 73 | 20 6f 66 20 64 6f 69 6e | results| of doin|
|00006390| 67 20 73 6f 20 61 72 65 | 6e 27 74 20 64 65 66 69 |g so are|n't defi|
|000063a0| 6e 65 64 2c 20 61 6e 64 | 0a 6d 61 79 20 64 69 66 |ned, and|.may dif|
|000063b0| 66 65 72 20 62 65 74 77 | 65 65 6e 20 70 72 6f 63 |fer betw|een proc|
|000063c0| 65 73 73 6f 72 73 2e 29 | 0a 3c 50 3e 0a 54 68 65 |essors.)|.<P>.The|
|000063d0| 73 65 20 69 6e 73 74 72 | 75 63 74 69 6f 6e 73 20 |se instr|uctions |
|000063e0| 74 61 6b 65 20 74 68 65 | 20 66 6f 6c 6c 6f 77 69 |take the| followi|
|000063f0| 6e 67 20 6e 75 6d 62 65 | 72 20 6f 66 20 63 79 63 |ng numbe|r of cyc|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.