修也

实践出真知.

在裸机上在bios中断向量表中,汇编设置增加中断服务程序(向量地址设置三种方式)

bits 16 cpu 8086 %macro PutChar 2 ;必须定义写在使用前面;否则后面编译报错 mov al,%1 mov ah,09h mov bx,000ch mov cx,%2 mov dh,02h mov dl,0h int 10h %endmacro ...

2017-09-16 02:01:10

阅读数:282

评论数:0

win32汇编的segment,子程序,宏定义,局部变量定义test1

.386 .model flat,stdcall option casemap:none includelib user32.lib includelib gdi32.lib includelib kernel32.lib NULL EQU 0 MB_OK EQU 0 %echo mb_o...

2017-09-14 02:46:49

阅读数:361

评论数:0

win32汇编无头文件编译成功

.386 .model flat,stdcall option casemap:none includelib user32.lib includelib gdi32.lib includelib kernel32.lib NULL EQU 0 MB_OK EQU 0 MessageB...

2017-09-14 00:37:12

阅读数:185

评论数:0

汇编关机代码

;$$ - start position bits 16 cpu 8086 org 07c00h mov ax,cs mov ds,ax mov es,ax ;output bootMsg -- first msg mov ax,bootMsg ;input paramete...

2017-09-12 01:32:01

阅读数:955

评论数:0

从pc裸机磁盘(第一个扇区以后的扇区)中载入程序数据并运行

;$$ - start position bits 16 cpu 8086 org 07c00h mov ax,cs mov ds,ax mov es,ax ;output bootMsg -- first msg mov ax,bootMsg ;input paramete...

2017-09-09 19:52:07

阅读数:207

评论数:0

学习PC裸机汇编输出HelloWorld环境搭建和解决启动镜像问题

OS platform: Windows7 Assembler : nasm,ndisasm Virtual Machine: VitualBox org 07c00h mov ax,cs mov ds,ax mov es,ax call DispStr jmp $ DispStr:...

2017-09-09 17:14:43

阅读数:252

评论数:0

linux asm(nasm) output strings

section .text global main main: mov eax,4 mov ebx,1 mov ecx,msg mov edx,len int 80h mov eax,1 int 80h msg: db "hello world!it's too long...

2017-09-04 22:32:20

阅读数:236

评论数:0

nasm汇编程序例程got

section .text extern _MessageBoxA@16 %if __NASM_VERSION_ID__ >= 0x02030000 safeseh handler ; register handler as "safe handler" %endif ...

2017-09-04 19:09:08

阅读数:194

评论数:0

linux apache2 编译problems

apache2 depends : apr , apr-util ,so compiling apr and apr-util first successively. compiling apr-util and apr-iconv with parameter: --with-apr=/usr...

2017-09-04 00:02:09

阅读数:154

评论数:0

Ubuntu Qt5.6.2 ld -lGL Error solution

first command: locate libGL then create a link : sudo ln -s /usr/lib/x86_64-linux-gnu/mesa/libGL.so.1 /usr/lib/libGL.so if your Ubuntu do...

2017-09-02 03:52:54

阅读数:156

评论数:0

Ubuntu uninstalling software completely(include purge configuration and files)

reference: my problems and solution: don't clearly completely unintall jdk! (even though rmove all files of jdk,there are also some leaks) so,e...

2017-09-01 23:23:56

阅读数:114

评论数:0

提示
确定要删除当前文章?
取消 删除
关闭
关闭