asm: more links

This commit is contained in:
Ciro Santilli 六四事件 法轮功
2019-05-05 00:00:00 +00:00
parent 549bd4a7fd
commit 3388d72bb2
25 changed files with 154 additions and 27 deletions

View File

@@ -1,4 +1,7 @@
/* 1 + 2 == 3 */
/* 1 + 2 == 3
*
* https://github.com/cirosantilli/linux-kernel-module-cheat#inline-assembly
*/
#include <assert.h>
#include <inttypes.h>

View File

@@ -1,4 +1,7 @@
/* Increment a variable in inline assembly. */
/* Increment a variable in inline assembly.
*
* https://github.com/cirosantilli/linux-kernel-module-cheat#inline-assembly
*/
#include <assert.h>
#include <inttypes.h>

View File

@@ -1,4 +1,4 @@
/* https://stackoverflow.com/questions/53960240/armv8-floating-point-output-inline-assembly */
/* https://github.com/cirosantilli/linux-kernel-module-cheat#inline-assembly-floating-point-arm */
#include <assert.h>

View File

@@ -13,6 +13,8 @@
* ....
* ldr r0, [sp]
* ....
*
* https://github.com/cirosantilli/linux-kernel-module-cheat#inline-assembly
*/
#include <assert.h>

View File

@@ -5,6 +5,8 @@
* movt r3, #<higher address part>
* ldr r0, [r3]
* ....
*
* https://github.com/cirosantilli/linux-kernel-module-cheat#inline-assembly
*/
#include <assert.h>

View File

@@ -1,4 +1,4 @@
/* https://github.com/cirosantilli/arm-assembly-cheat#register-variables */
/* https://github.com/cirosantilli/linux-kernel-module-cheat#inline-assembly-register-variables */
#include <assert.h>
#include <inttypes.h>