摘要: _add_a_and_b: push %ebx mov %eax, [%esp+8] mov %ebx, [%esp+12] add %eax, %ebx pop %ebx ret _main: push 3 push 2 call _add_a_and_b add %esp, 8 ret 学习编程 阅读全文
posted @ 2021-05-26 09:53 我爱茜茜公主 阅读(73) 评论(0) 推荐(0)
摘要: 编写hello驱动步骤: 编写hello驱动代码 编写makefile 编译和加载hello驱动 编写应用程序测试hello驱动 hello驱动代码: hello_open() hello_write() hello_read() hello_init() hello_exit() 编译hello需 阅读全文
posted @ 2021-05-26 09:50 我爱茜茜公主 阅读(93) 评论(0) 推荐(0)