Guide to Assembly Language: A Concise Introduction

By James T. Streib

This e-book will let the reader to in a short time start programming in meeting language. via this hands-on programming, readers also will examine extra in regards to the laptop structure of the Intel 32-bit processor, in addition to the connection among high-level and low-level languages. subject matters: provides an outline of meeting language, and an creation to common goal registers; illustrates the foremost suggestions of every bankruptcy with whole courses, bankruptcy summaries, and workouts; covers input/output, simple mathematics directions, choice buildings, and generation buildings; introduces good judgment, shift, mathematics shift, rotate, and stack directions; discusses methods and macros, and examines arrays and strings; investigates laptop language from a discovery standpoint. This textbook is a perfect advent to programming in meeting language for undergraduate scholars, and a concise consultant for execs wishing to benefit easy methods to write logically right courses in a minimum period of time.

Show description

Preview of Guide to Assembly Language: A Concise Introduction PDF

Best Programming books

Joe Celko's SQL for Smarties: Advanced SQL Programming Third Edition (The Morgan Kaufmann Series in Data Management Systems)

SQL for Smarties was once hailed because the first e-book committed explicitly to the complicated options had to rework an skilled SQL programmer into a professional. Now, 10 years later and within the 3rd variation, this vintage nonetheless reigns perfect because the publication written via an SQL grasp that teaches destiny SQL masters.

Designing Audio Effect Plug-Ins in C++: With Digital Audio Signal Processing Theory

Not only one other theory-heavy electronic sign processing publication, nor one other uninteresting build-a-generic-database programming ebook, Designing Audio influence Plug-Ins in C++ delivers every little thing you every thing you want to recognize to just do that, together with totally labored, downloadable code for dozens audio influence plug-ins and virtually awarded algorithms.

Effective C++: 55 Specific Ways to Improve Your Programs and Designs (3rd Edition)

“Every C++ expert wishes a duplicate of powerful C++. it's an absolute must-read for an individual taking into consideration doing severe C++ improvement. If you’ve by no means learn powerful C++ and also you imagine you recognize every thing approximately C++, reconsider. ”— Steve Schirripa, software program Engineer, Google “C++ and the C++ neighborhood have grown up within the final fifteen years, and the 3rd version of powerful C++ displays this.

Cocoa Design Patterns

“Next time a few child exhibits up at my door inquiring for a code evaluate, this is often the publication that i'm going to throw at him. ”   –Aaron Hillegass, founding father of immense Nerd Ranch, Inc. , and writer of Cocoa Programming for Mac OS X   Unlocking the secrets and techniques of Cocoa and Its Object-Oriented Frameworks   Mac and iPhone builders are usually crushed via the breadth and class of the Cocoa frameworks.

Additional info for Guide to Assembly Language: A Concise Introduction

Show sample text content

6. 10 workouts (Items Marked with an ∗ Have options in Appendix E) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ninety one ninety one ninety one ninety five ninety nine 102 104 107 109 112 113 7 strategies and Macros . . . . . . . . . . . . . . . . . . . . . . . . . . . 7. 1 methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7. 2 entire application: enforcing the facility functionality in a process 7. three Saving and Restoring Registers . . . . . . . . . . . . . . . . . . . . 7. four Macros . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7. five Conditional meeting . . . . . . . . . . . . . . . . . . . . . . . . . 7. 6 switch Macro Revisited utilizing Conditional meeting . . . . . . . . . 7. 7 strength functionality Macro utilizing Conditional meeting . . . . . . . . . 7. eight whole software: imposing a Macro Calculator . . . . . . . . 7. nine precis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7. 10 workouts (Items Marked with an ∗ Have ideas in Appendix E) . . . . . . . . . . . . . a hundred and fifteen one hundred fifteen 119 122 123 129 132 136 139 a hundred forty five 146 Contents xiii eight Arrays . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . eight. 1 Array announcement and Addressing . . . . . . . . . . . . . . . . . eight. 2 Indexing utilizing the bottom sign up . . . . . . . . . . . . . . . . . eight. three looking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . eight. four Indexing utilizing the esi and edi Registers . . . . . . . . . . . . eight. five Lengthof and sizeof Operators . . . . . . . . . . . . . . . . eight. 6 entire application: enforcing a Queue . . . . . . . . . . . . eight. 7 whole software: imposing the choice style . . . . . . . eight. eight precis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . eight. nine routines (Items Marked with an ∗ Have recommendations in Appendix E) . . . . . . . . . . nine Strings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . nine. 1 advent . . . . . . . . . . . . . . . . . . . . . . . . . . . . . nine. 2 String directions: relocating Strings (movsb) . . . . . . . . . . . nine. three String directions: Scanning (scasb), Storing (stosb), and Loading (lodsb) . . . . . . . . . . . . . . . . . . . . . . . nine. four Array of Strings . . . . . . . . . . . . . . . . . . . . . . . . . . . nine. five String directions: evaluating Strings (cmpsb) . . . . . . . . . nine. 6 entire software: looking out an Array of Strings . . . . . . . . nine. 7 precis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . nine. eight routines (Items Marked with an ∗ Have recommendations in Appendix E) . . . 173 . . . 173 . . . one hundred seventy five . . . . . . . . . . . . . . . . . . 177 179 181 186 188 189 chosen laptop Language directions . . . . . . . . . . . . . . . . 10. 1 advent . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10. 2 Inc and dec directions . . . . . . . . . . . . . . . . . . . . . 10. three Mov guideline . . . . . . . . . . . . . . . . . . . . . . . . . . . 10. four upload and sub directions . . . . . . . . . . . . . . . . . . . . . 10. five Mov offset and lea directions . . . . . . . . . . . . . . . . 10. 6 Jmp directions . . . . . . . . . . . . . . . . . . . . . . . . . . 10. 7 guide Timings . . . . . . . . . . . . . . . . . . . . . . . . . 10. eight whole software: computing device Language directory . . . . . . . . . . 10. nine precis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10. 10 routines (Items Marked with an ∗ Have strategies in Appendix E) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 191 191 191 194 199 two hundred 202 203 204 206 207 10 . . . . . . . . . . . . . . . . . . . . 147 147 a hundred and fifty 153 a hundred and fifty five 161 162 167 171 171 Appendix A deploy of visible C++ and MASM . . . A. 1 instructions for fitting visible C++ and MASM A. 2 Writing C courses and Inline meeting . . . . A. three Writing Stand-alone MASM courses . . . . . A. four precis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 209 209 210 211 213 Appendix B Binary, Hexadecimal, common sense, and mathematics B.

Download PDF sample

Rated 4.95 of 5 – based on 38 votes