上一页 1 2 3 4 5 6 7 8 ··· 13 下一页

2023年2月21日

摘要: 首先配置环境见目录0x00,创建class01文件夹 直接看目录结构 │ main.c(可以调用asm的函数,可以使用最原始的c语言,你要明白基本所有头文件都要用汇编自己造)│ Makefile(make脚本)├─asm│ asmhead.asm(别管)│ ipl10.asm(别管)│ naskfu 阅读全文
posted @ 2023-02-21 13:52 Z_Chan 阅读(61) 评论(0) 推荐(0)

2023年2月20日

摘要: 这是最后的效果图,可以在实体机上面运行。 功能: 运行app,app调用自己写的api实现输出字符串 终端输入输出界面 计时器 支持鼠标,键盘 问题: 实体机鼠标有问题 介绍: 系统完全参考haribote,算是精简版或者二开的haribote,去除了GUI界面,终端界面完全自己开发,这是一点一点调 阅读全文
posted @ 2023-02-20 13:22 Z_Chan 阅读(88) 评论(0) 推荐(0)

2022年11月28日

摘要: 所需工具: 1.vscode 2.编译工具(来自haribote后续改用nasm+gcc) 环境: windows10 64位 使用方法: 直接下载,这个目录就是开发环境 阅读全文
posted @ 2022-11-28 13:40 Z_Chan 阅读(75) 评论(0) 推荐(0)

2022年11月27日

摘要: assume cs:code,ss:stack stack segment db 16 dup(0) stack ends code segment s: mov al,5 mov bl,3 ret;return to block clode behind the call start: mov a 阅读全文
posted @ 2022-11-27 13:18 Z_Chan 阅读(206) 评论(0) 推荐(0)
摘要: 上代码 assume cs:code,ss:stack stack segment db 16 dup(0) stack ends code segment s: mov bx,16 ret;return to block clode behind the call start: mov ax,st 阅读全文
posted @ 2022-11-27 12:42 Z_Chan 阅读(80) 评论(0) 推荐(0)

2022年11月26日

摘要: ;ret and call assume cs:code stack segment db 8 dup(0) stack ends code segment mov ax,4c00h int 21h start: mov ax,stack mov ss,ax mov sp,8;stack top p 阅读全文
posted @ 2022-11-26 17:29 Z_Chan 阅读(164) 评论(0) 推荐(0)
摘要: assume cs:code,ss:stack stack segment db 4 dup(11h);create 4 byte's memory and inject 11*4 stack ends code segment start: mov ax,stack mov ss,ax mov a 阅读全文
posted @ 2022-11-26 17:07 Z_Chan 阅读(53) 评论(0) 推荐(0)

2022年11月24日

摘要: offset就是把偏移地址取出来 ;offset can get ip address in front of the : assume cs:code code segment start: mov ax,offset start s:mov ax,offset s code ends end s 阅读全文
posted @ 2022-11-24 13:57 Z_Chan 阅读(515) 评论(0) 推荐(0)

2022年11月23日

摘要: 我们用dx,实现cx数据的临时存储 ;dx be used for double loops, it can save the value of cx ;double loop assume cs:code code segment mov cx,2h mov ax,0h s: mov dx,cx 阅读全文
posted @ 2022-11-23 13:33 Z_Chan 阅读(52) 评论(0) 推荐(0)
摘要: 效果图,在地址76c:0这里本来是abc的,上代码 assume ds:data,cs:code data segment db 'abc' data ends;data block but the data will be saved in memory block 76c:0 code segm 阅读全文
posted @ 2022-11-23 09:15 Z_Chan 阅读(64) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 ··· 13 下一页

导航