mirror of
https://github.com/pkivolowitz/asm_book.git
synced 2026-06-21 06:56:47 +08:00
first pdfs
This commit is contained in:
parent
3c71c62480
commit
f6d91cbc26
44 changed files with 41 additions and 27 deletions
BIN
LICENSE.pdf
Normal file
BIN
LICENSE.pdf
Normal file
Binary file not shown.
54
README.md
54
README.md
|
|
@ -231,30 +231,30 @@ knowledge - how cool is that!
|
|||
|
||||
| Chapter | Markdown | PDF |
|
||||
| ------- | -------- | --- |
|
||||
| 1 | [Hello World](./section_1/hello_world/README.md) | NA |
|
||||
| 2 | [If Statements](./section_1/if/README.md) | NA |
|
||||
| 1 | [Hello World](./section_1/hello_world/README.md) | [Link](./section_1/hello_world/README.pdf) |
|
||||
| 2 | [If Statements](./section_1/if/README.md) | [Link](./section_1/if/README.pdf) |
|
||||
| 3 | Loops | |
|
||||
| .... a | [.... While Loops](./section_1/while/README.md) | NA |
|
||||
| .... b | [.... For Loops](./section_1/for/README.md) | NA |
|
||||
| .... c | [.... Implementing Continue](./section_1/for/README.md#implementing-a-continue) | NA |
|
||||
| .... d | [.... Implementing Break](./section_1/for/README.md#implementing-a-break) | NA |
|
||||
| .... a | [.... While Loops](./section_1/while/README.md) | [Link](./section_1/while/README.pdf) |
|
||||
| .... b | [.... For Loops](./section_1/for/README.md) | [Link](./section_1/for/README.pdf) |
|
||||
| .... c | [.... Implementing Continue](./section_1/for/README.md#implementing-a-continue) | [Link](./section_1/for/README.pdf) |
|
||||
| .... d | [.... Implementing Break](./section_1/for/README.md#implementing-a-break) | [Link](./section_1/for/README.pdf) |
|
||||
| 4 | Interludes | |
|
||||
| .... a | [.... Registers](./section_1/regs/README.md) | NA |
|
||||
| .... b | [.... Load and Store](./section_1/regs/ldr.md) | NA |
|
||||
| .... c | [.... More About `ldr`](./section_1/regs/ldr2.md) | NA |
|
||||
| .... d | [.... Register Sizes](./section_1/regs/widths.md) | NA |
|
||||
| 5 | [`switch`](./section_1/jump_tables/README.md) | NA |
|
||||
| .... a | [.... Registers](./section_1/regs/README.md) | [Link](./section_1/regs/README.pdf) |
|
||||
| .... b | [.... Load and Store](./section_1/regs/ldr.md) | [Link](./section_1/regs/ldr.pdf) |
|
||||
| .... c | [.... More About `ldr`](./section_1/regs/ldr2.md) | [Link](./section_1/regs/ldr2.pdf) |
|
||||
| .... d | [.... Register Sizes](./section_1/regs/widths.md) | [Link]((./section_1/regs/widths.pdf) |
|
||||
| 5 | [`switch`](./section_1/jump_tables/README.md) | [Link](./section_1/jump_tables/README.pdf) |
|
||||
| 6 | Functions | |
|
||||
| .... a | [.... Calling and Returning](./section_1/funcs/README.md) | NA |
|
||||
| .... b | [.... Passing Parameters](./section_1/funcs/README2.md) | NA |
|
||||
| .... c | [.... Example of calling some common C runtime functions](./section_1/funcs/README3.md) | NA |
|
||||
| 7 | [FizzBuzz - a Complete Program](./section_1/fizzbuzz/README.md) | NA |
|
||||
| .... a | [.... Calling and Returning](./section_1/funcs/README.md) | [Link](./section_1/funcs/README.pdf) |
|
||||
| .... b | [.... Passing Parameters](./section_1/funcs/README2.md) | [Link](./section_1/funcs/README2.pdf) |
|
||||
| .... c | [.... Example of calling some common C runtime functions](./section_1/funcs/README3.md) | [Link](./section_1/funcs/README3.pdf) |
|
||||
| 7 | [FizzBuzz - a Complete Program](./section_1/fizzbuzz/README.md) | [Link](./section_1/fizzbuzz/README.pdf) |
|
||||
| 8 | Structs | |
|
||||
| .... a | [.... Alignment](./section_1/structs/alignment.md) | NA |
|
||||
| .... b | [.... Defining](./section_1/structs/defining.md) | NA |
|
||||
| .... c | [.... Using](./section_1/structs/using.md) | NA |
|
||||
| 9 | [`const`](./section_1/const/README.md) | NA |
|
||||
| 10 | [Casting](./section_1/casting/README.md) | NA |
|
||||
| .... a | [.... Alignment](./section_1/structs/alignment.md) | [Link](./section_1/structs/alignment.pdf) |
|
||||
| .... b | [.... Defining](./section_1/structs/defining.md) | [Link](./section_1/structs/defining.pdf) |
|
||||
| .... c | [.... Using](./section_1/structs/using.md) | [Link](./section_1/structs/using.pdf) |
|
||||
| 9 | [`const`](./section_1/const/README.md) | [Link](./section_1/const/README.pdf) |
|
||||
| 10 | [Casting](./section_1/casting/README.md) | [Link](./section_1/casting/README.pdf) |
|
||||
|
||||
## Section 2 - Floating Point
|
||||
|
||||
|
|
@ -281,18 +281,18 @@ What would a book about assembly language be without bit bashing?
|
|||
| Chapter | Markdown | PDF |
|
||||
| ------- | -------- | --- |
|
||||
| 1 | Bit Fields | |
|
||||
| .... a | [.... Without Bit Fields](./section_3/bitfields/README.md) | NA |
|
||||
| .... b | [.... With Bit Fields](./section_3/bitfields/with.md) | NA |
|
||||
| .... c | [.... Review of Newly Described Instructions](./section_3/bitfields/review.md) | NA |
|
||||
| 2 | [Endianness](./section_3/endian/README.md) | NA |
|
||||
| .... a | [.... Without Bit Fields](./section_3/bitfields/README.md) | [Link]((./section_3/bitfields/README.pdf) |
|
||||
| .... b | [.... With Bit Fields](./section_3/bitfields/with.md) | [Link](./section_3/bitfields/with.pdf) |
|
||||
| .... c | [.... Review of Newly Described Instructions](./section_3/bitfields/review.md) | [Link](./section_3/bitfields/review.pdf) |
|
||||
| 2 | [Endianness](./section_3/endian/README.md) | [Link]((./section_3/endian/README.pdf) |
|
||||
|
||||
## Section 4 - More Stuff
|
||||
|
||||
| Chapter | Markdown | PDF |
|
||||
| ------- | -------- | --- |
|
||||
| --- | [Determining string literal lengths for C functions](./more/strlen_for_c/README.md) | NA |
|
||||
| --- | [Under the hood: System Calls](./more/system_calls/README.md) | NA |
|
||||
| --- | [Apple Silicon](./more/apple_silicon/README.md) | NA |
|
||||
| --- | [Determining string literal lengths for C functions](./more/strlen_for_c/README.md) | [Link](./more/strlen_for_c/README.pdf) |
|
||||
| --- | [Under the hood: System Calls](./more/system_calls/README.md) | [Link](./more/system_calls/README.pdf) |
|
||||
| --- | [Apple Silicon](./more/apple_silicon/README.md) | [Link](./more/apple_silicon/README.pdf) |
|
||||
|
||||
## Projects
|
||||
|
||||
|
|
|
|||
BIN
README.pdf
Normal file
BIN
README.pdf
Normal file
Binary file not shown.
BIN
more/apple_silicon/README.pdf
Normal file
BIN
more/apple_silicon/README.pdf
Normal file
Binary file not shown.
BIN
more/strlen_for_c/README.pdf
Normal file
BIN
more/strlen_for_c/README.pdf
Normal file
Binary file not shown.
BIN
more/system_calls/README.pdf
Normal file
BIN
more/system_calls/README.pdf
Normal file
Binary file not shown.
BIN
not_written_yet.pdf
Normal file
BIN
not_written_yet.pdf
Normal file
Binary file not shown.
BIN
projects/DIRENT/README.pdf
Normal file
BIN
projects/DIRENT/README.pdf
Normal file
Binary file not shown.
BIN
projects/PI/README.pdf
Normal file
BIN
projects/PI/README.pdf
Normal file
Binary file not shown.
BIN
projects/README.pdf
Normal file
BIN
projects/README.pdf
Normal file
Binary file not shown.
BIN
projects/first_project/README.pdf
Normal file
BIN
projects/first_project/README.pdf
Normal file
Binary file not shown.
BIN
projects/walkies/README.pdf
Normal file
BIN
projects/walkies/README.pdf
Normal file
Binary file not shown.
BIN
projects/walkies/single_star.pdf
Normal file
BIN
projects/walkies/single_star.pdf
Normal file
Binary file not shown.
BIN
section_1/const/README.pdf
Normal file
BIN
section_1/const/README.pdf
Normal file
Binary file not shown.
BIN
section_1/fizzbuzz/README.pdf
Normal file
BIN
section_1/fizzbuzz/README.pdf
Normal file
Binary file not shown.
BIN
section_1/for/README.pdf
Normal file
BIN
section_1/for/README.pdf
Normal file
Binary file not shown.
BIN
section_1/funcs/README.pdf
Normal file
BIN
section_1/funcs/README.pdf
Normal file
Binary file not shown.
BIN
section_1/funcs/README2.pdf
Normal file
BIN
section_1/funcs/README2.pdf
Normal file
Binary file not shown.
BIN
section_1/funcs/README3.pdf
Normal file
BIN
section_1/funcs/README3.pdf
Normal file
Binary file not shown.
BIN
section_1/hello_world/README.pdf
Normal file
BIN
section_1/hello_world/README.pdf
Normal file
Binary file not shown.
BIN
section_1/if/README.pdf
Normal file
BIN
section_1/if/README.pdf
Normal file
Binary file not shown.
BIN
section_1/jump_tables/README.pdf
Normal file
BIN
section_1/jump_tables/README.pdf
Normal file
Binary file not shown.
BIN
section_1/recursion/README.pdf
Normal file
BIN
section_1/recursion/README.pdf
Normal file
Binary file not shown.
BIN
section_1/regs/README.pdf
Normal file
BIN
section_1/regs/README.pdf
Normal file
Binary file not shown.
BIN
section_1/regs/backup.pdf
Normal file
BIN
section_1/regs/backup.pdf
Normal file
Binary file not shown.
BIN
section_1/regs/ldr.pdf
Normal file
BIN
section_1/regs/ldr.pdf
Normal file
Binary file not shown.
BIN
section_1/regs/ldr2.pdf
Normal file
BIN
section_1/regs/ldr2.pdf
Normal file
Binary file not shown.
BIN
section_1/regs/regvar.pdf
Normal file
BIN
section_1/regs/regvar.pdf
Normal file
Binary file not shown.
BIN
section_1/regs/spare.pdf
Normal file
BIN
section_1/regs/spare.pdf
Normal file
Binary file not shown.
BIN
section_1/regs/widths.pdf
Normal file
BIN
section_1/regs/widths.pdf
Normal file
Binary file not shown.
BIN
section_1/structs/alignment.pdf
Normal file
BIN
section_1/structs/alignment.pdf
Normal file
Binary file not shown.
BIN
section_1/structs/defining.pdf
Normal file
BIN
section_1/structs/defining.pdf
Normal file
Binary file not shown.
BIN
section_1/structs/using.pdf
Normal file
BIN
section_1/structs/using.pdf
Normal file
Binary file not shown.
BIN
section_1/while/README.pdf
Normal file
BIN
section_1/while/README.pdf
Normal file
Binary file not shown.
BIN
section_2/float/half.pdf
Normal file
BIN
section_2/float/half.pdf
Normal file
Binary file not shown.
BIN
section_2/float/literals.pdf
Normal file
BIN
section_2/float/literals.pdf
Normal file
Binary file not shown.
BIN
section_2/float/rounding.pdf
Normal file
BIN
section_2/float/rounding.pdf
Normal file
Binary file not shown.
BIN
section_2/float/what.pdf
Normal file
BIN
section_2/float/what.pdf
Normal file
Binary file not shown.
BIN
section_2/float/working.pdf
Normal file
BIN
section_2/float/working.pdf
Normal file
Binary file not shown.
BIN
section_3/bitfields/README.pdf
Normal file
BIN
section_3/bitfields/README.pdf
Normal file
Binary file not shown.
BIN
section_3/bitfields/review.pdf
Normal file
BIN
section_3/bitfields/review.pdf
Normal file
Binary file not shown.
BIN
section_3/bitfields/with.pdf
Normal file
BIN
section_3/bitfields/with.pdf
Normal file
Binary file not shown.
BIN
section_3/endian/README.pdf
Normal file
BIN
section_3/endian/README.pdf
Normal file
Binary file not shown.
14
test.bash
Executable file
14
test.bash
Executable file
|
|
@ -0,0 +1,14 @@
|
|||
#!/bin/bash
|
||||
#file_list=`git diff --name-only main | grep -i ".md"`
|
||||
file_list=`find . -print | grep -i ".md"`
|
||||
|
||||
for element in $file_list
|
||||
do
|
||||
dir=`dirname ${element}`
|
||||
cd $dir
|
||||
echo `pwd`
|
||||
fname=`basename ${element}`
|
||||
pandoc $fname -o ${fname::-2}pdf
|
||||
cd -
|
||||
done
|
||||
|
||||
Loading…
Reference in a new issue