Skip to content

Commit d082467

Browse files
committed
Lots of additions to first section
1 parent 06f7d0b commit d082467

File tree

5 files changed

+557
-66
lines changed

5 files changed

+557
-66
lines changed

asm_slides/asm.scss

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,21 @@
2626
height: auto;
2727
}
2828

29+
.shrink-image img {
30+
width: 50%;
31+
height: auto;
32+
}
33+
34+
.block-image img {
35+
background-color: #ffffff;
36+
@include border-top-radius(5px);
37+
@include border-bottom-radius(5px);
38+
@include border-left-radius(5px);
39+
@include border-right-radius(5px);
40+
@include border-style(solid);
41+
box-shadow: 2px 2px 2px 5px rgba(0,0,0,0.3);
42+
}
43+
2944
.flex-image p {
3045
font-size: 8pt;
3146
}

asm_slides/basic_ops_section_2.rst

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,15 @@ Lab 3
147147

148148
Arithmetic Operations
149149

150+
* Copy the Lab3 folder (and its contents)
151+
* Modify the \*.nasm file (Each function should have a comment block - lines starting with ';' containing instructions)
152+
* Build and run using the following commands:
153+
154+
.. code:: bash
155+
156+
~/Desktop/Lab3 $ cmake . && cmake --build .
157+
~/Desktop/Lab3 $ ./lab3
158+
150159
----
151160

152161
:data-rotate: 90
@@ -269,6 +278,15 @@ Lab 4
269278

270279
Stack Operations
271280

281+
* Copy the Lab4 folder (and its contents)
282+
* Modify the \*.nasm file (Each function should have a comment block - lines starting with ';' containing instructions)
283+
* Build and run using the following commands:
284+
285+
.. code:: bash
286+
287+
~/Desktop/Lab4 $ cmake . && cmake --build .
288+
~/Desktop/Lab4 $ ./lab4
289+
272290
----
273291

274292
:data-rotate-y: 0
@@ -496,3 +514,13 @@ Lab 5
496514
=====
497515

498516
Bit operations
517+
518+
519+
* Copy the Lab5 folder (and its contents)
520+
* Modify the \*.nasm file (Each function should have a comment block - lines starting with ';' containing instructions)
521+
* Build and run using the following commands:
522+
523+
.. code:: bash
524+
525+
~/Desktop/Lab5 $ cmake . && cmake --build .
526+
~/Desktop/Lab5 $ ./lab5

asm_slides/control_flow_section_3.rst

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,16 @@ Lab 6
9393

9494
Flag manipulation...
9595

96+
97+
* Copy the Lab6 folder (and its contents)
98+
* Modify the \*.nasm file (Each function should have a comment block - lines starting with ';' containing instructions)
99+
* Build and run using the following commands:
100+
101+
.. code:: bash
102+
103+
~/Desktop/Lab6 $ cmake . && cmake --build .
104+
~/Desktop/Lab6 $ ./lab6
105+
96106
----
97107

98108
Control Flow
@@ -324,6 +334,16 @@ Lab 7
324334

325335
Execution control flow...
326336

337+
338+
* Copy the Lab7 folder (and its contents)
339+
* Modify the \*.nasm file (Each function should have a comment block - lines starting with ';' containing instructions)
340+
* Build and run using the following commands:
341+
342+
.. code:: bash
343+
344+
~/Desktop/Lab7 $ cmake . && cmake --build .
345+
~/Desktop/Lab7 $ ./lab7
346+
327347
----
328348

329349
String Instructions
@@ -421,6 +441,15 @@ Lab 8
421441

422442
String Operations
423443

444+
* Copy the Lab8 folder (and its contents)
445+
* Modify the \*.nasm file (Each function should have a comment block - lines starting with ';' containing instructions)
446+
* Build and run using the following commands:
447+
448+
.. code:: bash
449+
450+
~/Desktop/Lab8 $ cmake . && cmake --build .
451+
~/Desktop/Lab8 $ ./lab8
452+
424453
----
425454

426455

@@ -702,3 +731,29 @@ Lab 9
702731

703732
Functions
704733

734+
735+
* Copy the Lab9 folder (and its contents)
736+
* Modify the \*.nasm file (Each function should have a comment block - lines starting with ';' containing instructions)
737+
* Build and run using the following commands:
738+
739+
.. code:: bash
740+
741+
~/Desktop/Lab9 $ cmake . && cmake --build .
742+
~/Desktop/Lab9 $ ./lab9
743+
744+
----
745+
746+
Windows Functions Lab
747+
=====================
748+
749+
Functions - Calling Conventions (x86)
750+
751+
* Copy the WinFunctions folder to your Windows system
752+
* Copy the nasm binary to WinFunctions\\ASM\\nasm.exe
753+
* Edit WinLab.nasm under WinFunctions\\ASM\\ASM\\WinLab.nasm
754+
* build via VS2015 (as normal), or via msbuild using the following command:
755+
756+
.. code::
757+
758+
C:\..\WinFunctions\ASM> "%VS140COMNTOOLS%vsvars32.bat"
759+
C:\..\WinFunctions\ASM> msbuild ASM.sln

asm_slides/images/Process_Layout.svg

Lines changed: 243 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)