Chinaunix首页 | 论坛 | 博客
  • 博客访问: 304923
  • 博文数量: 214
  • 博客积分: 4258
  • 博客等级: 上校
  • 技术积分: 2021
  • 用 户 组: 普通用户
  • 注册时间: 2010-12-02 09:16
个人简介

http://blog.csdn.net/ly21st http://ly21st.blog.chinaunix.net

文章分类

全部博文(214)

文章存档

2018年(16)

2015年(1)

2014年(2)

2012年(22)

2011年(173)

发布时间:2012-01-01 14:16:44

assume cs:codecode segment start: jmp int0msg:  db "I am pleasure"int0: mov ax,cs mov ds,ax mov ax,0b800h mov es,ax mov si,msg mov bx,(80*12+30)*2 mov cx,13s: mov al,ds:[si] mov es:[bx],al mov es:[bx+1],0ch .........【阅读全文】

阅读(332) | 评论(0) | 转发(0)

发布时间:2011-12-30 13:14:15

汇编程序版本1;我们的启动程序实现的功能是在屏幕中央;打印一行字符串即可org 07c00h      ;指令明确告诉编译器我程序的段地址是7c00h                ;而不是原来的 00000    .........【阅读全文】

阅读(303) | 评论(0) | 转发(0)

发布时间:2011-12-27 19:59:31

#include <stdio.h>#include <string.h>#define ISNULL(pszIn)  pszIn==NULL static char* AFA_DoubleByteToByte(char* pszIn,unsigned int inLen,char* pszOut,unsigned int* outLen){ int  i; int  j; char HIBYTE; char LOBYTE;  i.........【阅读全文】

阅读(390) | 评论(0) | 转发(0)

发布时间:2011-12-25 19:40:47

#include <stdio.h>#include <stdarg.h>void print_int(int n,...){ va_list vargs;  int num;  int i;  va_start(vargs,n);  for (i=0; i < n; i++) {  num = va_arg(vargs,int );  printf("%d\n",num);  }} int main(){ .........【阅读全文】

阅读(338) | 评论(0) | 转发(0)

发布时间:2011-12-20 21:39:13

文件share_proc.c #include <stdio.h>#include <stdlib.h>#include <sys/types.h>#include <sys/shm.h>#include <string.h>#include <unistd.h>#include <sys/wait.h> struct A{       int x;  &nb.........【阅读全文】

阅读(493) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册