Assembly Language: Step-by-Step - part 1 docx

47 211 0
Assembly Language: Step-by-Step - part 1 docx

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

[...]... Zero 0 0 1 2 3 4 5 6 One Two Three Four Five 1 2 3 4 5 Six 6 file:///D|/Agent%20Folders/Chapter1%20Revised.htm (11 of 30) [9/25/2002 6:09:40 PM] file:///D|/Agent%20Folders/Chapter1%20Revised.htm 7 8 9 A B C D E F 10 11 12 13 14 15 Seven Eight Nine A B C D E F Ten (or, One-oh) One-one 16 17 One-two One-three One-four One-five One-six One-seven 18 One-eight 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23... 27 30 Zero 0 One 1 Two 2 Three 3 Four 4 Five 5 Six 6 Seven 7 Ten 8 Eleven 9 Twelve 10 Thirteen 11 Fourteen 12 Fifteen 13 Sixteen 14 Seventeen 15 16 Twenty Twenty-one 17 Twenty-two 18 Twenty-three 19 Twenty-four 20 Twenty-five 21 Twenty-six 22 Twenty-seven 23 Thirty 24 column (because it is written 10 0) but the hundreds column actually has a value of 8 file:///D|/Agent%20Folders/Chapter1%20Revised.htm... 290 Chapter 10 Stringing Them Up Those Amazing String Instructions 311 10 .1 The Notion of an Assembly- Language String 10 .2 REP STOSW: The Software Machine Gun 10 .3 The Semiautomatic Weapon: STOSW without REP 10 .4 Storing Data to Discontinuous Strings 312 314 318 327 216 216 224 235 248 • Chapter 11 O Brave New World! 339 The Complications of Assembly- Language Programming in the '90s 11 .1 A Short History... notation in the early 19 50s borrowed the first six letters of the alphabet to act as the needed digits Counting in hexadecimal, then, goes like this: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F, 10 , 11 , 12 , 13 , 14 , 15 , 16 , 17 , 18 , 19 , 1A, IB, 1C and so on Table 1. 5 restates this in a more organized fashion, with the decimal equivalents up to 32 Table 1. 5 Counting in hexadecimal, base 16 Hexadecimal Pronunciation... 23 24 Table 1. 5 Counting in hexadecimal, base 16 (continued) Hexadecimal Numerals Pronunciation (follow with "hex") 19 1A IB 1C ID IE IF 20 One-nine One-A One-B One-C One-D One-E One-F Twenty (or, Two-oh) Decimal Equivalent 25 26 27 28 29 30 31 32 One of the conventions in hexadecimal that I favor is the dropping of words like "eleven" file:///D|/Agent%20Folders/Chapter1%20Revised.htm (12 of 30) [9/25/2002... the CPU Wars 11 .2 Opening Up the Far Horizon 11 .3 Using the "New" Instructions in the 80286 11 .4 Moving to 32 Bits with the 386 and 486 11 .5 Additional 386/486 Instructions 11 .6 Detecting Which CPU Your Code Is Running On 3 41 342 346 352 357 360 Chapter 12 Conclusion 369 file:///D|/Agent%20Folders /Assembly% 20LanguageChapt%200.htm (10 of 23) [9/25/2002 5:43:09 PM] file:///D|/Agent%20Folders /Assembly% 20LanguageChapt%200.htm... file:///D|/Agent%20Folders/Chapter1%20Revised.htm Alien Bases Getting Your Arms around Binary and Hexadecimal 1. 1 The Return of the New Math Monster >• 14 1. 2 Counting in Martian >• 14 1. 3 Octal: How the Grinch Stole 8 and 9 >• 19 1. 4 Hexadecimal: Solving the Digit Shortage >• 22 1. 5 From Hex to Decimal and From Decimal to Hex >• 25 1. 6 Arithmetic in Hex >• 29 1. 7 Binary >• 34 1. 8 Hexadecimal as Shorthand for Binary >• 38 1. 1 The... file:///D|/Agent%20Folders/Chapter1%20Revised.htm column to its right, so the tens column in octal is actually the eights column (They call it the tens column because it is written 10 , and pronounced "ten.") Similarly, the column to the left of the tens column is the hundreds Table 1. 3 in octal, base 8 Counting Octal Numerals PronunciationDecimal Equivalent 0 1 2 3 4 5 6 7 10 11 12 13 14 15 16 17 20 21 22 23 24 25 26... Appendix A Partial 8086/8088 Instruction Set Reference 373 Appendix B The Extended ASCII Code and Symbol Set 4 21 Appendix C Segment Register Assumptions 425 Index 427 Another Pleasant Valley Saturday Understanding What Computers Really Do 0 .1 It's All in the Plan >• 1 0.2 Had This Been the Real Thing >• 5 0.3 Do Not Pass GO >• 5 file:///D|/Agent%20Folders /Assembly% 20LanguageChapt%200.htm (11 of 23)... column has the value of the number based raised to the 2 1, or 1st power, which is the value of the number base itself In octal this is 8; in decimal, 10 ; in Martian base fooby, fooby The third column has a value consisting of the number base raised to the 3 -1 , or 2nd power, and so on Within each column, the digit holding that column tells how many in-stances of that column's value is contained in the number . Odds'n'Ends 290 Chapter 10 Stringing Them Up 311 Those Amazing String Instructions 10 .1 The Notion of an Assembly- Language String 312 10 .2 REP STOSW: The Software Machine Gun 314 10 .3 The Semiautomatic. 3 41 11. 2 Opening Up the Far Horizon 342 11 .3 Using the "New" Instructions in the 80286 346 11 .4 Moving to 32 Bits with the 386 and 486 352 11 .5 Additional 386/486 Instructions 357 11 .6. printed on acid- free paper, and we exert our best efforts to that end. Library of Congress Cataloging-in-Publication Data Duntemann, Jeff. 19 52 - Assembly language : step-by-step / Jeff Duntemann. p.

Ngày đăng: 12/08/2014, 08:23

Từ khóa liên quan

Tài liệu cùng người dùng

  • Đang cập nhật ...

Tài liệu liên quan