Assembly x64 Programming in easy steps
eBook - ePub

Assembly x64 Programming in easy steps

Modern coding for MASM, SSE & AVX

  1. English
  2. ePUB (mobile friendly)
  3. Available on iOS & Android
eBook - ePub

Assembly x64 Programming in easy steps

Modern coding for MASM, SSE & AVX

About this book

Assembly x64 Programming in easy steps shows how to write code to create your own computer programs. It contains separate chapters demonstrating how to store and manipulate data in 64-bit registers, how to control program flow, and how to create reusable blocks of code in program functions. It includes demonstrations of parallel processing with 128-bit Streaming SIMD Extensions (SSE) and 256-bit Advanced Vector Extensions (AVX).

Assembly x64 Programming in easy steps has an easy-to-follow style that will appeal to anyone who wants to begin programming in modern x64 Assembly language on Windows. The code in the listed steps within the book is color-coded, making it easier for beginners to grasp. There are complete step-by-step example programs that demonstrate each aspect of coding, together with screenshots that illustrate the actual output when each program is executed.

Includes free, downloadable source code to get you started straightaway!

Table of Contents:

  • Beginning Basics
  • Getting Started
  • Performing Arithmetic
  • Directing Flow
  • Addressing Options
  • Handling Strings
  • Building Blocks
  • Expanding Macros
  • Floating Points
  • Calling Windows
  • Incorporating Code

Frequently asked questions

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription.
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
Perlego offers two plans: Essential and Complete
  • Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
  • Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Both plans are available with monthly, semester, or annual billing cycles.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Yes! You can use the Perlego app on both iOS or Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app.
Yes, you can access Assembly x64 Programming in easy steps by Mike McGrath in PDF and/or ePUB format, as well as other popular books in Computer Science & Programming Languages. We have over one million books available in our catalogue for you to explore.
1
Beginning Basics
Welcome to the exciting world of Assembly programming. This chapter describes the Assembly language, computer architecture, and data representation.
Introducing Assembly
Inspecting Architecture
Addressing Registers
Numbering Systems
Signing Numbers
Storing Characters
Using Boolean Logic
Summary
Introducing Assembly
image
Assembly (ASM) is a low-level programming language for a computer or other programmable device. Unlike high-level programming languages such as C++, which are typically portable across different systems, the Assembly language targets a specific system architecture. This book demonstrates Assembly programming for the x86-64 computer system architecture – also known as “x64”, “Intel64” and “AMD64”.
Assembly language code is converted into machine instructions by an “assembler” utility program. There are several assemblers available but this book uses only the Microsoft Macro Assembler (MASM) on the Windows operating system.
The Assembly example programs in this book are created and tested in the free Community Edition of the Microsoft Visual Studio Integrated Development Environment (IDE).
At the heart of every computer is a microprocessor chip called the Central Processing Unit (CPU) that handles system operations, such as receiving input from the keyboard and displaying output on the screen. The CPU only understands “machine language instructions”. These are binary strings of ones and zeros, which are in themselves too ob...

Table of contents

  1. Cover
  2. Title
  3. Copyright
  4. Contents
  5. 1 Beginning Basic
  6. 2 Getting Started
  7. 3 Performing Arithmetic
  8. 4 Directing Flow
  9. 5 Addressing Option
  10. 6 Handling String
  11. 7 Building Block
  12. 8 Expanding Macro
  13. 9 Floating Point
  14. 10 Calling Window
  15. 11 Incorporating Code
  16. BackCover