Assembly x64 Programming in easy steps
eBook - ePub

Assembly x64 Programming in easy steps

Modern coding for MASM, SSE & AVX

Mike McGrath

Share book
  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

Mike McGrath

Book details
Book preview
Table of contents
Citations

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

How do I cancel my subscription?
Simply head over to the account section in settings and click on “Cancel Subscription” - it’s as simple as that. After you cancel, your membership will stay active for the remainder of the time you’ve paid for. Learn more here.
Can/how do I download books?
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.
What is the difference between the pricing plans?
Both plans give you full access to the library and all of Perlego’s features. The only differences are the price and subscription period: With the annual plan you’ll save around 30% compared to 12 months on the monthly plan.
What is Perlego?
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.
Do you support text-to-speech?
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.
Is Assembly x64 Programming in easy steps an online PDF/ePUB?
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 Informatik & Programmiersprachen. We have over one million books available in our catalogue for you to explore.

Information

Year
2021
ISBN
9781840789539
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