x86-64 declarations
parent
79b715a64c
commit
74aa5e16d9
|
@ -202,7 +202,7 @@
|
||||||
"combinatorics/index.md": "66efa649c4c87e58fc82c2199096ade4",
|
"combinatorics/index.md": "66efa649c4c87e58fc82c2199096ade4",
|
||||||
"_journal/2024-02-18.md": "67e36dbbb2cac699d4533b5a2eaeb629",
|
"_journal/2024-02-18.md": "67e36dbbb2cac699d4533b5a2eaeb629",
|
||||||
"_journal/2024-02/2024-02-17.md": "7c37cb10515ed3d2f5388eaf02a67048",
|
"_journal/2024-02/2024-02-17.md": "7c37cb10515ed3d2f5388eaf02a67048",
|
||||||
"combinatorics/multiplicative-principle.md": "14193048d2f8947cfc4082678bba6c50",
|
"combinatorics/multiplicative-principle.md": "7c06835fa34cfefa217a10cf11ef4ab0",
|
||||||
"combinatorics/additive-principle.md": "d036ac511e382d5c1caca437341a5915",
|
"combinatorics/additive-principle.md": "d036ac511e382d5c1caca437341a5915",
|
||||||
"_journal/2024-02-19.md": "30d16c5373deb9cb128d2e7934ae256a",
|
"_journal/2024-02-19.md": "30d16c5373deb9cb128d2e7934ae256a",
|
||||||
"_journal/2024-02/2024-02-18.md": "67e36dbbb2cac699d4533b5a2eaeb629",
|
"_journal/2024-02/2024-02-18.md": "67e36dbbb2cac699d4533b5a2eaeb629",
|
||||||
|
@ -218,7 +218,7 @@
|
||||||
"_journal/2024-02/2024-02-21.md": "f423137ae550eb958378750d1f5e98c7",
|
"_journal/2024-02/2024-02-21.md": "f423137ae550eb958378750d1f5e98c7",
|
||||||
"_journal/2024-02-23.md": "219ce9ad15a8733edd476c97628b71fd",
|
"_journal/2024-02-23.md": "219ce9ad15a8733edd476c97628b71fd",
|
||||||
"_journal/2024-02/2024-02-22.md": "312e55d57868026f6e80f7989a889c2b",
|
"_journal/2024-02/2024-02-22.md": "312e55d57868026f6e80f7989a889c2b",
|
||||||
"c17/strings.md": "617821357921374bdb6db10f8c2f91ef",
|
"c17/strings.md": "c0893d2eb34f43484af81b3c3d3835ed",
|
||||||
"c17/index.md": "78576ee41d0185df82c59999142f4edb",
|
"c17/index.md": "78576ee41d0185df82c59999142f4edb",
|
||||||
"c17/escape-sequences.md": "a8b99070336878b4e8c11e9e4525a500",
|
"c17/escape-sequences.md": "a8b99070336878b4e8c11e9e4525a500",
|
||||||
"c17/declarations.md": "f55d31e93e67f03577300d9e92129e82",
|
"c17/declarations.md": "f55d31e93e67f03577300d9e92129e82",
|
||||||
|
@ -246,7 +246,7 @@
|
||||||
"algebra/sequences/index.md": "91ec81d3aa22d1baef2ab4b24736c43c",
|
"algebra/sequences/index.md": "91ec81d3aa22d1baef2ab4b24736c43c",
|
||||||
"_journal/2024-03-02.md": "08c3cae1df0079293b47e1e9556f1ce1",
|
"_journal/2024-03-02.md": "08c3cae1df0079293b47e1e9556f1ce1",
|
||||||
"_journal/2024-03/2024-03-01.md": "70da812300f284df72718dd32fc39322",
|
"_journal/2024-03/2024-03-01.md": "70da812300f284df72718dd32fc39322",
|
||||||
"algebra/sequences/triangular-numbers.md": "3623bebc476635cc7f5a3855221e1e31",
|
"algebra/sequences/triangular-numbers.md": "e833b69d767fb33594716cb0b2bd6aa3",
|
||||||
"algebra/sequences/square-numbers.md": "171f7c5a8dac088afba40923ab86c68e",
|
"algebra/sequences/square-numbers.md": "171f7c5a8dac088afba40923ab86c68e",
|
||||||
"_journal/2024-03-03.md": "c4977a3778ed227b768c3f9ad5512670",
|
"_journal/2024-03-03.md": "c4977a3778ed227b768c3f9ad5512670",
|
||||||
"_journal/2024-03/2024-03-02.md": "8136792b0ee6e08232e4f60c88d461d2",
|
"_journal/2024-03/2024-03-02.md": "8136792b0ee6e08232e4f60c88d461d2",
|
||||||
|
@ -287,7 +287,7 @@
|
||||||
"_journal/2024-03/2024-03-17.md": "23f9672f5c93a6de52099b1b86834e8b",
|
"_journal/2024-03/2024-03-17.md": "23f9672f5c93a6de52099b1b86834e8b",
|
||||||
"set/directed-graph.md": "b4b8ad1be634a0a808af125fe8577a53",
|
"set/directed-graph.md": "b4b8ad1be634a0a808af125fe8577a53",
|
||||||
"set/index.md": "b82a215fbee3c576186fc1af93c82fcb",
|
"set/index.md": "b82a215fbee3c576186fc1af93c82fcb",
|
||||||
"set/graphs.md": "bffffb0caee44f403130edbc1753e803",
|
"set/graphs.md": "b2651abacb583dc21292da3dbe422179",
|
||||||
"_journal/2024-03-19.md": "a0807691819725bf44c0262405e97cbb",
|
"_journal/2024-03-19.md": "a0807691819725bf44c0262405e97cbb",
|
||||||
"_journal/2024-03/2024-03-18.md": "63c3c843fc6cfc2cd289ac8b7b108391",
|
"_journal/2024-03/2024-03-18.md": "63c3c843fc6cfc2cd289ac8b7b108391",
|
||||||
"awk/variables.md": "e40a20545358228319f789243d8b9f77",
|
"awk/variables.md": "e40a20545358228319f789243d8b9f77",
|
||||||
|
@ -304,13 +304,17 @@
|
||||||
"_journal/2024-03/2024-03-20.md": "0a73ce399d275fe6ee3134a812f3f4f9",
|
"_journal/2024-03/2024-03-20.md": "0a73ce399d275fe6ee3134a812f3f4f9",
|
||||||
"_journal/2024-03-22.md": "8da8cda07d3de74f7130981a05dce254",
|
"_journal/2024-03-22.md": "8da8cda07d3de74f7130981a05dce254",
|
||||||
"_journal/2024-03/2024-03-21.md": "cd465f71800b080afa5c6bdc75bf9cd3",
|
"_journal/2024-03/2024-03-21.md": "cd465f71800b080afa5c6bdc75bf9cd3",
|
||||||
"x86-64/declarations.md": "8efbeca5fa347571f5c3502afc3a6807",
|
"x86-64/declarations.md": "75bc7857cf2207a40cd7f0ee056af2f2",
|
||||||
"x86-64/instructions.md": "240b4ceddf174f48207ba6bed4d25246",
|
"x86-64/instructions.md": "240b4ceddf174f48207ba6bed4d25246",
|
||||||
"git/refs.md": "954fc69004aa65b358ec5ce07c1435ce",
|
"git/refs.md": "954fc69004aa65b358ec5ce07c1435ce",
|
||||||
"set/trees.md": "56ef76493abcbfdb0256a54dc2d72ba3",
|
"set/trees.md": "56ef76493abcbfdb0256a54dc2d72ba3",
|
||||||
"_journal/2024-03-24.md": "f70f3ae6c75eab485c993869f0e6ffbd",
|
"_journal/2024-03-24.md": "1974cdb9fc42c3a8bebb8ac76d4b1fd6",
|
||||||
"_journal/2024-03/2024-03-23.md": "ad4e92cc2bf37f174a0758a0753bf69b",
|
"_journal/2024-03/2024-03-23.md": "ad4e92cc2bf37f174a0758a0753bf69b",
|
||||||
"_journal/2024-03/2024-03-22.md": "a509066c9cd2df692549e89f241d7bd9"
|
"_journal/2024-03/2024-03-22.md": "a509066c9cd2df692549e89f241d7bd9",
|
||||||
|
"_journal/2024-03-25.md": "e8edd82e6416c558204a321b1d866058",
|
||||||
|
"_journal/2024-03-26.md": "c21d80f07a8056a5a0a31ade8f2f6f65",
|
||||||
|
"_journal/2024-03/2024-03-25.md": "458bce81efc28130478309b847fa197c",
|
||||||
|
"_journal/2024-03/2024-03-24.md": "1974cdb9fc42c3a8bebb8ac76d4b1fd6"
|
||||||
},
|
},
|
||||||
"fields_dict": {
|
"fields_dict": {
|
||||||
"Basic": [
|
"Basic": [
|
||||||
|
|
|
@ -0,0 +1,11 @@
|
||||||
|
---
|
||||||
|
title: "2024-03-26"
|
||||||
|
---
|
||||||
|
|
||||||
|
- [x] Anki Flashcards
|
||||||
|
- [x] KoL
|
||||||
|
- [ ] Sheet Music (10 min.)
|
||||||
|
- [ ] Go (1 Life & Death Problem)
|
||||||
|
- [ ] Korean (Read 1 Story)
|
||||||
|
- [ ] Interview Prep (1 Practice Problem)
|
||||||
|
- [ ] Log Work Hours (Max 3 hours)
|
|
@ -2,7 +2,7 @@
|
||||||
title: "2024-03-24"
|
title: "2024-03-24"
|
||||||
---
|
---
|
||||||
|
|
||||||
- [ ] Anki Flashcards
|
- [x] Anki Flashcards
|
||||||
- [x] KoL
|
- [x] KoL
|
||||||
- [ ] Sheet Music (10 min.)
|
- [ ] Sheet Music (10 min.)
|
||||||
- [ ] Go (1 Life & Death Problem)
|
- [ ] Go (1 Life & Death Problem)
|
|
@ -0,0 +1,13 @@
|
||||||
|
---
|
||||||
|
title: "2024-03-25"
|
||||||
|
---
|
||||||
|
|
||||||
|
- [x] Anki Flashcards
|
||||||
|
- [x] KoL
|
||||||
|
- [ ] Sheet Music (10 min.)
|
||||||
|
- [ ] Go (1 Life & Death Problem)
|
||||||
|
- [ ] Korean (Read 1 Story)
|
||||||
|
- [ ] Interview Prep (1 Practice Problem)
|
||||||
|
- [ ] Log Work Hours (Max 3 hours)
|
||||||
|
|
||||||
|
* Primary worked on the hide and seek application. Can now create and join rooms using Phoenix Liveview.
|
|
@ -22,7 +22,7 @@ END%%
|
||||||
%%ANKI
|
%%ANKI
|
||||||
Basic
|
Basic
|
||||||
What is a figurate number?
|
What is a figurate number?
|
||||||
Back: Polygonal numbers or generalizations of polygonal numbers to other dimensions.
|
Back: Polygonal numbers and their generalizations to other dimensions.
|
||||||
Reference: “Triangular Number,” in _Wikipedia_, January 13, 2024, [https://en.wikipedia.org/w/index.php?title=Triangular_number&oldid=1195279122](https://en.wikipedia.org/w/index.php?title=Triangular_number&oldid=1195279122).
|
Reference: “Triangular Number,” in _Wikipedia_, January 13, 2024, [https://en.wikipedia.org/w/index.php?title=Triangular_number&oldid=1195279122](https://en.wikipedia.org/w/index.php?title=Triangular_number&oldid=1195279122).
|
||||||
<!--ID: 1709419325856-->
|
<!--ID: 1709419325856-->
|
||||||
END%%
|
END%%
|
||||||
|
|
|
@ -731,7 +731,7 @@ END%%
|
||||||
|
|
||||||
%%ANKI
|
%%ANKI
|
||||||
Cloze
|
Cloze
|
||||||
The {`%G`} format specifier outputs a {uppercase `double` in fixed-point or standard notation}.
|
The {`%G`} format specifier outputs an {uppercase `double` in fixed-point or standard notation}.
|
||||||
Reference: “Printf,” in *Wikipedia*, January 18, 2024, [https://en.wikipedia.org/w/index.php?title=Printf&oldid=1196716962](https://en.wikipedia.org/w/index.php?title=Printf&oldid=1196716962).
|
Reference: “Printf,” in *Wikipedia*, January 18, 2024, [https://en.wikipedia.org/w/index.php?title=Printf&oldid=1196716962](https://en.wikipedia.org/w/index.php?title=Printf&oldid=1196716962).
|
||||||
Tags: printf
|
Tags: printf
|
||||||
<!--ID: 1710844199536-->
|
<!--ID: 1710844199536-->
|
||||||
|
|
|
@ -35,16 +35,9 @@ Reference: Thomas H. Cormen et al., Introduction to Algorithms, Fourth edition (
|
||||||
<!--ID: 1710796166572-->
|
<!--ID: 1710796166572-->
|
||||||
END%%
|
END%%
|
||||||
|
|
||||||
%%ANKI
|
|
||||||
Cloze
|
|
||||||
A {1:directed} graph $G$ is a pair $\langle V, E \rangle$, where $V$ is a {2:finite set} and $E$ is a {2:binary relation on $V$}.
|
|
||||||
Reference: Thomas H. Cormen et al., Introduction to Algorithms, Fourth edition (Cambridge, Massachusett: The MIT Press, 2022).
|
|
||||||
<!--ID: 1710793937771-->
|
|
||||||
END%%
|
|
||||||
|
|
||||||
%%ANKI
|
%%ANKI
|
||||||
Basic
|
Basic
|
||||||
Let $G = \langle V, E \rangle$ be a directed graph. What conditions must $V$ satisfy?
|
Let $G = \langle V, E \rangle$ be a directed graph. What kind of mathematical object is $V$?
|
||||||
Back: It is a finite set.
|
Back: It is a finite set.
|
||||||
Reference: Thomas H. Cormen et al., Introduction to Algorithms, Fourth edition (Cambridge, Massachusett: The MIT Press, 2022).
|
Reference: Thomas H. Cormen et al., Introduction to Algorithms, Fourth edition (Cambridge, Massachusett: The MIT Press, 2022).
|
||||||
<!--ID: 1710793937776-->
|
<!--ID: 1710793937776-->
|
||||||
|
@ -52,8 +45,8 @@ END%%
|
||||||
|
|
||||||
%%ANKI
|
%%ANKI
|
||||||
Basic
|
Basic
|
||||||
Let $G = \langle V, E \rangle$ be a directed graph. What conditions must $E$ satisfy?
|
Let $G = \langle V, E \rangle$ be a directed graph. What kind of mathematical object is $E$?
|
||||||
Back: It is a binary relation on $E$.
|
Back: It is a binary relation on $V$.
|
||||||
Reference: Thomas H. Cormen et al., Introduction to Algorithms, Fourth edition (Cambridge, Massachusett: The MIT Press, 2022).
|
Reference: Thomas H. Cormen et al., Introduction to Algorithms, Fourth edition (Cambridge, Massachusett: The MIT Press, 2022).
|
||||||
<!--ID: 1710793937779-->
|
<!--ID: 1710793937779-->
|
||||||
END%%
|
END%%
|
||||||
|
@ -90,16 +83,9 @@ Reference: Thomas H. Cormen et al., Introduction to Algorithms, Fourth edition (
|
||||||
<!--ID: 1710793937800-->
|
<!--ID: 1710793937800-->
|
||||||
END%%
|
END%%
|
||||||
|
|
||||||
%%ANKI
|
|
||||||
Cloze
|
|
||||||
An {1:undirected} graph $G$ is a pair $\langle V, E \rangle$, where $V$ is a {2:finite set} and $E$ is a {2:set of unordered pairs of vertices}.
|
|
||||||
Reference: Thomas H. Cormen et al., Introduction to Algorithms, Fourth edition (Cambridge, Massachusett: The MIT Press, 2022).
|
|
||||||
<!--ID: 1710793937804-->
|
|
||||||
END%%
|
|
||||||
|
|
||||||
%%ANKI
|
%%ANKI
|
||||||
Basic
|
Basic
|
||||||
Let $G = \langle V, E \rangle$ be an undirected graph. What conditions must $V$ satisfy?
|
Let $G = \langle V, E \rangle$ be an undirected graph. What kind of mathematical object is $V$?
|
||||||
Back: It is a finite set.
|
Back: It is a finite set.
|
||||||
Reference: Thomas H. Cormen et al., Introduction to Algorithms, Fourth edition (Cambridge, Massachusett: The MIT Press, 2022).
|
Reference: Thomas H. Cormen et al., Introduction to Algorithms, Fourth edition (Cambridge, Massachusett: The MIT Press, 2022).
|
||||||
<!--ID: 1710793937808-->
|
<!--ID: 1710793937808-->
|
||||||
|
@ -107,7 +93,7 @@ END%%
|
||||||
|
|
||||||
%%ANKI
|
%%ANKI
|
||||||
Basic
|
Basic
|
||||||
Let $G = \langle V, E \rangle$ be an undirected graph. What conditions must $E$ satisfy?
|
Let $G = \langle V, E \rangle$ be an undirected graph. What kind of mathematical object is $E$?
|
||||||
Back: It is a set of unordered pairs of vertices.
|
Back: It is a set of unordered pairs of vertices.
|
||||||
Reference: Thomas H. Cormen et al., Introduction to Algorithms, Fourth edition (Cambridge, Massachusett: The MIT Press, 2022).
|
Reference: Thomas H. Cormen et al., Introduction to Algorithms, Fourth edition (Cambridge, Massachusett: The MIT Press, 2022).
|
||||||
<!--ID: 1710793937813-->
|
<!--ID: 1710793937813-->
|
||||||
|
@ -1000,15 +986,6 @@ Reference: Thomas H. Cormen et al., Introduction to Algorithms, Fourth edition (
|
||||||
<!--ID: 1710807788510-->
|
<!--ID: 1710807788510-->
|
||||||
END%%
|
END%%
|
||||||
|
|
||||||
%%ANKI
|
|
||||||
Basic
|
|
||||||
What are the cycles containing vertex $2$?
|
|
||||||
![[undirected-graph-example.png]]
|
|
||||||
Back: $\langle 1, 2, 5, 1 \rangle$ and $\langle 1, 5, 2, 1 \rangle$
|
|
||||||
Reference: Thomas H. Cormen et al., Introduction to Algorithms, Fourth edition (Cambridge, Massachusett: The MIT Press, 2022).
|
|
||||||
<!--ID: 1710807788515-->
|
|
||||||
END%%
|
|
||||||
|
|
||||||
%%ANKI
|
%%ANKI
|
||||||
Basic
|
Basic
|
||||||
What are the simple cycles containing vertex $2$?
|
What are the simple cycles containing vertex $2$?
|
||||||
|
|
|
@ -20,7 +20,7 @@ tags:
|
||||||
|
|
||||||
%%ANKI
|
%%ANKI
|
||||||
Basic
|
Basic
|
||||||
What is the width of a word?
|
What is the width of a `word`?
|
||||||
Back: 16 bits.
|
Back: 16 bits.
|
||||||
Reference: Bryant, Randal E., and David O'Hallaron. *Computer Systems: A Programmer's Perspective*. Third edition, Global edition. Always Learning. Pearson, 2016.
|
Reference: Bryant, Randal E., and David O'Hallaron. *Computer Systems: A Programmer's Perspective*. Third edition, Global edition. Always Learning. Pearson, 2016.
|
||||||
<!--ID: 1711116523806-->
|
<!--ID: 1711116523806-->
|
||||||
|
@ -28,7 +28,7 @@ END%%
|
||||||
|
|
||||||
%%ANKI
|
%%ANKI
|
||||||
Basic
|
Basic
|
||||||
What historical reason explains why a word is 16 bits?
|
What historical reason explains why a `word` is 16 bits?
|
||||||
Back: Because the 8086 that introduced x86 was 16 bits.
|
Back: Because the 8086 that introduced x86 was 16 bits.
|
||||||
Reference: Bryant, Randal E., and David O'Hallaron. *Computer Systems: A Programmer's Perspective*. Third edition, Global edition. Always Learning. Pearson, 2016.
|
Reference: Bryant, Randal E., and David O'Hallaron. *Computer Systems: A Programmer's Perspective*. Third edition, Global edition. Always Learning. Pearson, 2016.
|
||||||
<!--ID: 1711116523813-->
|
<!--ID: 1711116523813-->
|
||||||
|
@ -36,7 +36,7 @@ END%%
|
||||||
|
|
||||||
%%ANKI
|
%%ANKI
|
||||||
Basic
|
Basic
|
||||||
What is the width of an Intel "byte"?
|
What is the width of an Intel `byte`?
|
||||||
Back: $8$ bits
|
Back: $8$ bits
|
||||||
Reference: Bryant, Randal E., and David O'Hallaron. *Computer Systems: A Programmer's Perspective*. Third edition, Global edition. Always Learning. Pearson, 2016.
|
Reference: Bryant, Randal E., and David O'Hallaron. *Computer Systems: A Programmer's Perspective*. Third edition, Global edition. Always Learning. Pearson, 2016.
|
||||||
<!--ID: 1711116523816-->
|
<!--ID: 1711116523816-->
|
||||||
|
@ -45,21 +45,21 @@ END%%
|
||||||
%%ANKI
|
%%ANKI
|
||||||
Basic
|
Basic
|
||||||
Which Intel data types are 1 bytes wide?
|
Which Intel data types are 1 bytes wide?
|
||||||
Back: Just the "byte".
|
Back: Just the `byte`.
|
||||||
Reference: Bryant, Randal E., and David O'Hallaron. *Computer Systems: A Programmer's Perspective*. Third edition, Global edition. Always Learning. Pearson, 2016.
|
Reference: Bryant, Randal E., and David O'Hallaron. *Computer Systems: A Programmer's Perspective*. Third edition, Global edition. Always Learning. Pearson, 2016.
|
||||||
<!--ID: 1711116523818-->
|
<!--ID: 1711116523818-->
|
||||||
END%%
|
END%%
|
||||||
|
|
||||||
%%ANKI
|
%%ANKI
|
||||||
Cloze
|
Cloze
|
||||||
The "{byte}" Intel data type has assembly-code suffix {`b`}.
|
The {`byte`} Intel data type has assembly-code suffix {`b`}.
|
||||||
Reference: Bryant, Randal E., and David O'Hallaron. *Computer Systems: A Programmer's Perspective*. Third edition, Global edition. Always Learning. Pearson, 2016.
|
Reference: Bryant, Randal E., and David O'Hallaron. *Computer Systems: A Programmer's Perspective*. Third edition, Global edition. Always Learning. Pearson, 2016.
|
||||||
<!--ID: 1711116523821-->
|
<!--ID: 1711116523821-->
|
||||||
END%%
|
END%%
|
||||||
|
|
||||||
%%ANKI
|
%%ANKI
|
||||||
Basic
|
Basic
|
||||||
What is the width of an Intel "word"?
|
What is the width of an Intel `word`?
|
||||||
Back: $16$ bits
|
Back: $16$ bits
|
||||||
Reference: Bryant, Randal E., and David O'Hallaron. *Computer Systems: A Programmer's Perspective*. Third edition, Global edition. Always Learning. Pearson, 2016.
|
Reference: Bryant, Randal E., and David O'Hallaron. *Computer Systems: A Programmer's Perspective*. Third edition, Global edition. Always Learning. Pearson, 2016.
|
||||||
<!--ID: 1711116523824-->
|
<!--ID: 1711116523824-->
|
||||||
|
@ -68,21 +68,21 @@ END%%
|
||||||
%%ANKI
|
%%ANKI
|
||||||
Basic
|
Basic
|
||||||
Which Intel data types are 2 bytes wide?
|
Which Intel data types are 2 bytes wide?
|
||||||
Back: Just the "word".
|
Back: Just the `word`.
|
||||||
Reference: Bryant, Randal E., and David O'Hallaron. *Computer Systems: A Programmer's Perspective*. Third edition, Global edition. Always Learning. Pearson, 2016.
|
Reference: Bryant, Randal E., and David O'Hallaron. *Computer Systems: A Programmer's Perspective*. Third edition, Global edition. Always Learning. Pearson, 2016.
|
||||||
<!--ID: 1711116523827-->
|
<!--ID: 1711116523827-->
|
||||||
END%%
|
END%%
|
||||||
|
|
||||||
%%ANKI
|
%%ANKI
|
||||||
Cloze
|
Cloze
|
||||||
The "{word}" Intel data type has assembly-code suffix {`w`}.
|
The {`word`} Intel data type has assembly-code suffix {`w`}.
|
||||||
Reference: Bryant, Randal E., and David O'Hallaron. *Computer Systems: A Programmer's Perspective*. Third edition, Global edition. Always Learning. Pearson, 2016.
|
Reference: Bryant, Randal E., and David O'Hallaron. *Computer Systems: A Programmer's Perspective*. Third edition, Global edition. Always Learning. Pearson, 2016.
|
||||||
<!--ID: 1711116523830-->
|
<!--ID: 1711116523830-->
|
||||||
END%%
|
END%%
|
||||||
|
|
||||||
%%ANKI
|
%%ANKI
|
||||||
Basic
|
Basic
|
||||||
What is the width of an Intel "double word"?
|
What is the width of an Intel `double word`?
|
||||||
Back: $32$ bits
|
Back: $32$ bits
|
||||||
Reference: Bryant, Randal E., and David O'Hallaron. *Computer Systems: A Programmer's Perspective*. Third edition, Global edition. Always Learning. Pearson, 2016.
|
Reference: Bryant, Randal E., and David O'Hallaron. *Computer Systems: A Programmer's Perspective*. Third edition, Global edition. Always Learning. Pearson, 2016.
|
||||||
<!--ID: 1711116523833-->
|
<!--ID: 1711116523833-->
|
||||||
|
@ -91,29 +91,29 @@ END%%
|
||||||
%%ANKI
|
%%ANKI
|
||||||
Basic
|
Basic
|
||||||
Which Intel data types are 4 bytes wide?
|
Which Intel data types are 4 bytes wide?
|
||||||
Back: The double word and single-precision.
|
Back: The `double word` and `single-precision`.
|
||||||
Reference: Bryant, Randal E., and David O'Hallaron. *Computer Systems: A Programmer's Perspective*. Third edition, Global edition. Always Learning. Pearson, 2016.
|
Reference: Bryant, Randal E., and David O'Hallaron. *Computer Systems: A Programmer's Perspective*. Third edition, Global edition. Always Learning. Pearson, 2016.
|
||||||
<!--ID: 1711116523836-->
|
<!--ID: 1711116523836-->
|
||||||
END%%
|
END%%
|
||||||
|
|
||||||
%%ANKI
|
%%ANKI
|
||||||
Cloze
|
Cloze
|
||||||
The "{double word/double-precision}" Intel data type has assembly-code suffix {`l`}.
|
The {`double word`/`double-precision`} Intel data type has assembly-code suffix {`l`}.
|
||||||
Reference: Bryant, Randal E., and David O'Hallaron. *Computer Systems: A Programmer's Perspective*. Third edition, Global edition. Always Learning. Pearson, 2016.
|
Reference: Bryant, Randal E., and David O'Hallaron. *Computer Systems: A Programmer's Perspective*. Third edition, Global edition. Always Learning. Pearson, 2016.
|
||||||
<!--ID: 1711116523839-->
|
<!--ID: 1711116523839-->
|
||||||
END%%
|
END%%
|
||||||
|
|
||||||
%%ANKI
|
%%ANKI
|
||||||
Basic
|
Basic
|
||||||
*Why* do double words have assembly-code suffix `l`?
|
*Why* do `double word`s have assembly-code suffix `l`?
|
||||||
Back: The suffix stands for "long", relative to a 16-bit word.
|
Back: The suffix stands for "long", relative to a 16-bit `word`.
|
||||||
Reference: Bryant, Randal E., and David O'Hallaron. *Computer Systems: A Programmer's Perspective*. Third edition, Global edition. Always Learning. Pearson, 2016.
|
Reference: Bryant, Randal E., and David O'Hallaron. *Computer Systems: A Programmer's Perspective*. Third edition, Global edition. Always Learning. Pearson, 2016.
|
||||||
<!--ID: 1711116523842-->
|
<!--ID: 1711116523842-->
|
||||||
END%%
|
END%%
|
||||||
|
|
||||||
%%ANKI
|
%%ANKI
|
||||||
Basic
|
Basic
|
||||||
What is the width of an Intel "quad word"?
|
What is the width of an Intel `quad word`?
|
||||||
Back: $64$ bits
|
Back: $64$ bits
|
||||||
Reference: Bryant, Randal E., and David O'Hallaron. *Computer Systems: A Programmer's Perspective*. Third edition, Global edition. Always Learning. Pearson, 2016.
|
Reference: Bryant, Randal E., and David O'Hallaron. *Computer Systems: A Programmer's Perspective*. Third edition, Global edition. Always Learning. Pearson, 2016.
|
||||||
<!--ID: 1711116523846-->
|
<!--ID: 1711116523846-->
|
||||||
|
@ -122,21 +122,21 @@ END%%
|
||||||
%%ANKI
|
%%ANKI
|
||||||
Basic
|
Basic
|
||||||
Which Intel data types are 8 bytes wide?
|
Which Intel data types are 8 bytes wide?
|
||||||
Back: The quad word and double-precision.
|
Back: The `quad word` and `double-precision`.
|
||||||
Reference: Bryant, Randal E., and David O'Hallaron. *Computer Systems: A Programmer's Perspective*. Third edition, Global edition. Always Learning. Pearson, 2016.
|
Reference: Bryant, Randal E., and David O'Hallaron. *Computer Systems: A Programmer's Perspective*. Third edition, Global edition. Always Learning. Pearson, 2016.
|
||||||
<!--ID: 1711116523850-->
|
<!--ID: 1711116523850-->
|
||||||
END%%
|
END%%
|
||||||
|
|
||||||
%%ANKI
|
%%ANKI
|
||||||
Cloze
|
Cloze
|
||||||
The "{quad word}" Intel data type has assembly-code suffix {`q`}.
|
The {`quad word`} Intel data type has assembly-code suffix {`q`}.
|
||||||
Reference: Bryant, Randal E., and David O'Hallaron. *Computer Systems: A Programmer's Perspective*. Third edition, Global edition. Always Learning. Pearson, 2016.
|
Reference: Bryant, Randal E., and David O'Hallaron. *Computer Systems: A Programmer's Perspective*. Third edition, Global edition. Always Learning. Pearson, 2016.
|
||||||
<!--ID: 1711116523853-->
|
<!--ID: 1711116523853-->
|
||||||
END%%
|
END%%
|
||||||
|
|
||||||
%%ANKI
|
%%ANKI
|
||||||
Cloze
|
Cloze
|
||||||
C integral declaration {`char`} corresponds to Intel data type "{byte}".
|
C integral declaration {`char`} corresponds to Intel data type {`byte`}.
|
||||||
Reference: Bryant, Randal E., and David O'Hallaron. *Computer Systems: A Programmer's Perspective*. Third edition, Global edition. Always Learning. Pearson, 2016.
|
Reference: Bryant, Randal E., and David O'Hallaron. *Computer Systems: A Programmer's Perspective*. Third edition, Global edition. Always Learning. Pearson, 2016.
|
||||||
Tags: c17
|
Tags: c17
|
||||||
<!--ID: 1711116523858-->
|
<!--ID: 1711116523858-->
|
||||||
|
@ -144,7 +144,7 @@ END%%
|
||||||
|
|
||||||
%%ANKI
|
%%ANKI
|
||||||
Cloze
|
Cloze
|
||||||
C integral declaration {`short`} corresponds to Intel data type "{word}".
|
C integral declaration {`short`} corresponds to Intel data type {`word`}.
|
||||||
Reference: Bryant, Randal E., and David O'Hallaron. *Computer Systems: A Programmer's Perspective*. Third edition, Global edition. Always Learning. Pearson, 2016.
|
Reference: Bryant, Randal E., and David O'Hallaron. *Computer Systems: A Programmer's Perspective*. Third edition, Global edition. Always Learning. Pearson, 2016.
|
||||||
Tags: c17
|
Tags: c17
|
||||||
<!--ID: 1711116523862-->
|
<!--ID: 1711116523862-->
|
||||||
|
@ -152,7 +152,7 @@ END%%
|
||||||
|
|
||||||
%%ANKI
|
%%ANKI
|
||||||
Cloze
|
Cloze
|
||||||
C integral declaration {`int`} corresponds to Intel data type "{double word}".
|
C integral declaration {`int`} corresponds to Intel data type {`double word`}.
|
||||||
Reference: Bryant, Randal E., and David O'Hallaron. *Computer Systems: A Programmer's Perspective*. Third edition, Global edition. Always Learning. Pearson, 2016.
|
Reference: Bryant, Randal E., and David O'Hallaron. *Computer Systems: A Programmer's Perspective*. Third edition, Global edition. Always Learning. Pearson, 2016.
|
||||||
Tags: c17
|
Tags: c17
|
||||||
<!--ID: 1711116523866-->
|
<!--ID: 1711116523866-->
|
||||||
|
@ -160,7 +160,7 @@ END%%
|
||||||
|
|
||||||
%%ANKI
|
%%ANKI
|
||||||
Cloze
|
Cloze
|
||||||
C integral declaration {`long`} corresponds to Intel data type "{quad word}".
|
C integral declaration {`long`} corresponds to Intel data type {`quad word`}.
|
||||||
Reference: Bryant, Randal E., and David O'Hallaron. *Computer Systems: A Programmer's Perspective*. Third edition, Global edition. Always Learning. Pearson, 2016.
|
Reference: Bryant, Randal E., and David O'Hallaron. *Computer Systems: A Programmer's Perspective*. Third edition, Global edition. Always Learning. Pearson, 2016.
|
||||||
Tags: c17
|
Tags: c17
|
||||||
<!--ID: 1711116523870-->
|
<!--ID: 1711116523870-->
|
||||||
|
@ -168,7 +168,7 @@ END%%
|
||||||
|
|
||||||
%%ANKI
|
%%ANKI
|
||||||
Cloze
|
Cloze
|
||||||
C declaration `char *` corresponds to Intel data type "{quad word}".
|
C declaration `char *` corresponds to Intel data type {`quad word`}.
|
||||||
Reference: Bryant, Randal E., and David O'Hallaron. *Computer Systems: A Programmer's Perspective*. Third edition, Global edition. Always Learning. Pearson, 2016.
|
Reference: Bryant, Randal E., and David O'Hallaron. *Computer Systems: A Programmer's Perspective*. Third edition, Global edition. Always Learning. Pearson, 2016.
|
||||||
Tags: c17
|
Tags: c17
|
||||||
<!--ID: 1711116523874-->
|
<!--ID: 1711116523874-->
|
||||||
|
@ -176,7 +176,7 @@ END%%
|
||||||
|
|
||||||
%%ANKI
|
%%ANKI
|
||||||
Cloze
|
Cloze
|
||||||
C floating-point declaration {`float`} corresponds to Intel data type "{single-precision}".
|
C floating-point declaration {`float`} corresponds to Intel data type {`single-precision`}.
|
||||||
Reference: Bryant, Randal E., and David O'Hallaron. *Computer Systems: A Programmer's Perspective*. Third edition, Global edition. Always Learning. Pearson, 2016.
|
Reference: Bryant, Randal E., and David O'Hallaron. *Computer Systems: A Programmer's Perspective*. Third edition, Global edition. Always Learning. Pearson, 2016.
|
||||||
Tags: c17
|
Tags: c17
|
||||||
<!--ID: 1711116523877-->
|
<!--ID: 1711116523877-->
|
||||||
|
@ -184,14 +184,14 @@ END%%
|
||||||
|
|
||||||
%%ANKI
|
%%ANKI
|
||||||
Cloze
|
Cloze
|
||||||
The "{single-precision}" Intel data type has assembly-code suffix {`s`}.
|
The {`single-precision`} Intel data type has assembly-code suffix {`s`}.
|
||||||
Reference: Bryant, Randal E., and David O'Hallaron. *Computer Systems: A Programmer's Perspective*. Third edition, Global edition. Always Learning. Pearson, 2016.
|
Reference: Bryant, Randal E., and David O'Hallaron. *Computer Systems: A Programmer's Perspective*. Third edition, Global edition. Always Learning. Pearson, 2016.
|
||||||
<!--ID: 1711116523881-->
|
<!--ID: 1711116523881-->
|
||||||
END%%
|
END%%
|
||||||
|
|
||||||
%%ANKI
|
%%ANKI
|
||||||
Cloze
|
Cloze
|
||||||
C floating-point declaration {`double`} corresponds to Intel data type "{double-precision}".
|
C floating-point declaration {`double`} corresponds to Intel data type {`double-precision`}.
|
||||||
Reference: Bryant, Randal E., and David O'Hallaron. *Computer Systems: A Programmer's Perspective*. Third edition, Global edition. Always Learning. Pearson, 2016.
|
Reference: Bryant, Randal E., and David O'Hallaron. *Computer Systems: A Programmer's Perspective*. Third edition, Global edition. Always Learning. Pearson, 2016.
|
||||||
Tags: c17
|
Tags: c17
|
||||||
<!--ID: 1711116523885-->
|
<!--ID: 1711116523885-->
|
||||||
|
@ -199,7 +199,7 @@ END%%
|
||||||
|
|
||||||
%%ANKI
|
%%ANKI
|
||||||
Basic
|
Basic
|
||||||
What is the width of an Intel "singe precision"?
|
What is the width of an Intel `single-precision`?
|
||||||
Back: $32$ bits
|
Back: $32$ bits
|
||||||
Reference: Bryant, Randal E., and David O'Hallaron. *Computer Systems: A Programmer's Perspective*. Third edition, Global edition. Always Learning. Pearson, 2016.
|
Reference: Bryant, Randal E., and David O'Hallaron. *Computer Systems: A Programmer's Perspective*. Third edition, Global edition. Always Learning. Pearson, 2016.
|
||||||
<!--ID: 1711116523889-->
|
<!--ID: 1711116523889-->
|
||||||
|
@ -208,7 +208,7 @@ END%%
|
||||||
%%ANKI
|
%%ANKI
|
||||||
Basic
|
Basic
|
||||||
What two Intel data types do floating-point numbers come in?
|
What two Intel data types do floating-point numbers come in?
|
||||||
Back: Single-precision and double-precision.
|
Back: `single-precision` and `double-precision`.
|
||||||
Reference: Bryant, Randal E., and David O'Hallaron. *Computer Systems: A Programmer's Perspective*. Third edition, Global edition. Always Learning. Pearson, 2016.
|
Reference: Bryant, Randal E., and David O'Hallaron. *Computer Systems: A Programmer's Perspective*. Third edition, Global edition. Always Learning. Pearson, 2016.
|
||||||
<!--ID: 1711116523893-->
|
<!--ID: 1711116523893-->
|
||||||
END%%
|
END%%
|
||||||
|
@ -216,14 +216,14 @@ END%%
|
||||||
%%ANKI
|
%%ANKI
|
||||||
Basic
|
Basic
|
||||||
Assembly-code suffix `l` is used for what two Intel data types?
|
Assembly-code suffix `l` is used for what two Intel data types?
|
||||||
Back: Double words and double-precisions.
|
Back: `double word`s and `double-precision`s.
|
||||||
Reference: Bryant, Randal E., and David O'Hallaron. *Computer Systems: A Programmer's Perspective*. Third edition, Global edition. Always Learning. Pearson, 2016.
|
Reference: Bryant, Randal E., and David O'Hallaron. *Computer Systems: A Programmer's Perspective*. Third edition, Global edition. Always Learning. Pearson, 2016.
|
||||||
<!--ID: 1711116523898-->
|
<!--ID: 1711116523898-->
|
||||||
END%%
|
END%%
|
||||||
|
|
||||||
%%ANKI
|
%%ANKI
|
||||||
Basic
|
Basic
|
||||||
What is the width of an Intel "double-precision"?
|
What is the width of an Intel `double-precision`?
|
||||||
Back: $64$ bits
|
Back: $64$ bits
|
||||||
Reference: Bryant, Randal E., and David O'Hallaron. *Computer Systems: A Programmer's Perspective*. Third edition, Global edition. Always Learning. Pearson, 2016.
|
Reference: Bryant, Randal E., and David O'Hallaron. *Computer Systems: A Programmer's Perspective*. Third edition, Global edition. Always Learning. Pearson, 2016.
|
||||||
<!--ID: 1711116523903-->
|
<!--ID: 1711116523903-->
|
||||||
|
@ -231,7 +231,7 @@ END%%
|
||||||
|
|
||||||
%%ANKI
|
%%ANKI
|
||||||
Basic
|
Basic
|
||||||
Why is it safe for double words and double-precisions to both use assembly-code suffix `l`?
|
Why is it safe for `double word`s and `double-precision`s to both use assembly-code suffix `l`?
|
||||||
Back: Floating-point code uses a different set of instructions and registers.
|
Back: Floating-point code uses a different set of instructions and registers.
|
||||||
Reference: Bryant, Randal E., and David O'Hallaron. *Computer Systems: A Programmer's Perspective*. Third edition, Global edition. Always Learning. Pearson, 2016.
|
Reference: Bryant, Randal E., and David O'Hallaron. *Computer Systems: A Programmer's Perspective*. Third edition, Global edition. Always Learning. Pearson, 2016.
|
||||||
<!--ID: 1711116523908-->
|
<!--ID: 1711116523908-->
|
||||||
|
|
Loading…
Reference in New Issue