From the course: Learning Assembly Language
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Data types - Python Tutorial
From the course: Learning Assembly Language
Data types
- [Instructor] We've looked at the MASM32 assembler but we'll be using the GoAsm64 assembler from here on in. The assembler instructions are the same and the syntax is largely similar. With the coding examples now, we'll start to build up our file encryptor demonstration program. I've got a new GoAsm64 classic console project opened called an enigmatic. I'll make a couple of changes to the skeleton Easy Code provides. I'll change the constant null to zero and check change the code to call, GetModuleHandleA. At the machine level, our smallest data type is a byte which we define with the declaration DB. So in the data section we can, write, for example slot1 db, and we'll set it to the value five, slot2 db, we'll set that to the value two, slot3 db, and we'll set that to the value three. Sometimes it's useful to declare a number of variables each with the same value. We can do this with the juke keyword. For example…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
Setting up a program skeleton4m 27s
-
(Locked)
Understanding registers and memory8m 5s
-
(Locked)
Data types3m 18s
-
(Locked)
Using data structures6m 13s
-
(Locked)
The move and exchange instructions7m 22s
-
(Locked)
Extended move instructions3m 44s
-
(Locked)
Logical or bitwise operators5m 40s
-
(Locked)
Arithmetic operators5m 12s
-
(Locked)
Controlling the assembler flow5m 22s
-
(Locked)
Indirect addressing and pointers4m 50s
-
(Locked)
Console Input and output4m 47s
-
(Locked)
Challenge1m 24s
-
(Locked)
Solution4m 20s
-
-
-
-
-
-