Awesome Contents

Studying GNU Assembler Syntax

Studying GNU Assembler Syntax ⚠ Click here to regain focus ⚠
?
?

Keyboard Navigation

Global Keys

W, A, P / S, D, N Jump to previous / next marker
z Toggle filter mode V Revert filter to original state

Menu toggling

q Quotes r References f Filter c Credits

Movement

a
w
s
d
h j k l


Quotes and References Menus

Enter Jump to timecode

Quotes, References and Credits Menus

o Open URL (in new tab)

Filter Menu

x, Space Toggle category and focus next
X, ShiftSpace Toggle category and focus previous
v Invert topics / media as per focus

Credits Menu

Enter Open URL (in new tab)
0:06Set the stage for the day, looking at the GNU Assembler Syntax
0:06Set the stage for the day, looking at the GNU Assembler Syntax
0:06Set the stage for the day, looking at the GNU Assembler Syntax
0:35Begin to learn GCC Inline Assembly1
0:35Begin to learn GCC Inline Assembly1
0:35Begin to learn GCC Inline Assembly1
7:32Consult write_csr() and continue reading the example code in the guide
7:32Consult write_csr() and continue reading the example code in the guide
7:32Consult write_csr() and continue reading the example code in the guide
19:29Come to understand what the read_csr() macro is doing
19:29Come to understand what the read_csr() macro is doing
19:29Come to understand what the read_csr() macro is doing
20:42hossein1387 __temp is what is returned?
20:42hossein1387 __temp is what is returned?
20:42hossein1387 __temp is what is returned?
23:42Research about the C preprocessor's # and ## replace operators2
23:42Research about the C preprocessor's # and ## replace operators2
23:42Research about the C preprocessor's # and ## replace operators2
24:52Return to read_csr()
24:52Return to read_csr()
24:52Return to read_csr()
26:54Sketch out an interpretation of the syntax of read_csr()
26:54Sketch out an interpretation of the syntax of read_csr()
26:54Sketch out an interpretation of the syntax of read_csr()
30:29hossein1387 What was the %0 doing again?
30:29hossein1387 What was the %0 doing again?
30:29hossein1387 What was the %0 doing again?
31:55read_csr()
31:55read_csr()
31:55read_csr()
32:39hossein1387 Yeah, I watched them all!
32:39hossein1387 Yeah, I watched them all!
32:39hossein1387 Yeah, I watched them all!
34:13Write out a test program using the syntax of read_csr()
34:13Write out a test program using the syntax of read_csr()
34:13Write out a test program using the syntax of read_csr()
36:28Build and run the test program successfully
36:28Build and run the test program successfully
36:28Build and run the test program successfully
37:55Move on to understanding clear_csr()
37:55Move on to understanding clear_csr()
37:55Move on to understanding clear_csr()
40:37hossein1387 You can use the built-in function __builtin_constant_p to determine if a value is known to be constant at compile time and hence that GCC can perform constant-folding on expressions involving that value
40:37hossein1387 You can use the built-in function __builtin_constant_p to determine if a value is known to be constant at compile time and hence that GCC can perform constant-folding on expressions involving that value
40:37hossein1387 You can use the built-in function __builtin_constant_p to determine if a value is known to be constant at compile time and hence that GCC can perform constant-folding on expressions involving that value
41:15__builtin_constant_p
41:15__builtin_constant_p
41:15__builtin_constant_p
43:23Continue working towards understanding clear_csr()
43:23Continue working towards understanding clear_csr()
43:23Continue working towards understanding clear_csr()
44:15Consult the Tiny Guide in order to confirm the order of operand references
44:15Consult the Tiny Guide in order to confirm the order of operand references
44:15Consult the Tiny Guide in order to confirm the order of operand references
45:57Read about the Clobber List in the Tiny Guide
45:57Read about the Clobber List in the Tiny Guide
45:57Read about the Clobber List in the Tiny Guide
48:06Determine that we know enough about inline assembly for now, and glimpse into the future
48:06Determine that we know enough about inline assembly for now, and glimpse into the future
48:06Determine that we know enough about inline assembly for now, and glimpse into the future
49:27Read clear_csr() in conjunction with the documentation on the CSR3
49:27Read clear_csr() in conjunction with the documentation on the CSR3
49:27Read clear_csr() in conjunction with the documentation on the CSR3
1:01:34Summarise what clear_csr() is doing
1:01:34Summarise what clear_csr() is doing
1:01:34Summarise what clear_csr() is doing
1:03:47hossein1387 Why the < 32?
1:03:47hossein1387 Why the < 32?
1:03:47hossein1387 Why the < 32?
1:05:01Consider the fact that the register we're talking about is 32 bits long
1:05:01Consider the fact that the register we're talking about is 32 bits long
1:05:01Consider the fact that the register we're talking about is 32 bits long
1:08:40Determine to study the instruction encoding in the next episode, with a mention of the poll4
1:08:40Determine to study the instruction encoding in the next episode, with a mention of the poll4
1:08:40Determine to study the instruction encoding in the next episode, with a mention of the poll4