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.
Solution
(upbeat music) - [Narrator] Okay let's take a look at how I responded to the challenge. At line six, there's some working storage for data used by the program. The bytes in and bytes out are used for the console input output and the H in and H out are handles that we'll use for the console. Charin is the input buffer and following this, we have some messages that we'll be using. Note that we have the two slot messages reading a slot X. We'll be changing these before we print. At line 18, we have a rotor structure followed by five instances of rotors. And at line 31, we have the slot structure. At line 43 there are two plugs for exchanging characters at start and end of the core encryption process. The standard startup code is at line 47 and our main line code starts at line 57. We make a call to get standard handle for the console input output, storing the values we get into the data areas, in and out, H in and H…
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
-
-
-
-
-
-