To Be C++
shaker's Blog
生当作人杰,死亦为鬼雄,至今思项羽,不肯过江东。
首页
新随笔
联系
聚合
管理
38 Posts :: 0 Stories :: 83 Comments :: 0 Trackbacks
公告
点击这里给我发QQ消息
留言簿
(14)
给我留言
查看公开留言
查看私人留言
随笔分类
(30)
C++(22)
Delphi(1)
Utility(7)
随笔档案
(38)
2008年6月 (1)
2008年3月 (1)
2008年2月 (1)
2007年10月 (2)
2007年9月 (1)
2007年8月 (2)
2007年7月 (1)
2007年5月 (2)
2007年4月 (2)
2007年2月 (2)
2006年12月 (7)
2006年11月 (2)
2006年10月 (2)
2006年9月 (12)
精彩blog
#ant
boost源码剖析
CppExplore
系统设计系列文章
Learning boost
懒人日志
笑笑小生的博客
沐枫小筑
微妙的平衡
有一些HGE的技巧
链接
C++博客
就是这里啦
Code Project
大名鼎鼎的网站 全e文
CSDN.net
感觉是个大杂烩 不专精 不过但凡国内的程序员大多也会去那看看的
VC知识库
VC资料网站 收集的还算多的 不过还需要向CodeProject学习
游戏外挂研究院
算是曾今国内众多外挂高手的根据地吧 不过人心散了... 难现往日辉煌
搜索
积分与排名
积分 - 27732
排名 - 67
最新评论
1. re: BCGControlBar Library Professional Edition v9.56
sigh, no key found.
--needkeyyyyyyyyyy
2. furosemide impedor chromotherapy
Do it now. It is not safe to leave a generous feeling to the cooling influences of the world.
--furosemide impedor chromotherapy
3. escitalopram
Laughing is the sensation of feeling good all over and showing it principally in one spot.
--escitalopram
4. tylenol
He who will not reason is a bigot; he who cannot is a fool; and he who dares not is a slave.
--tylenol
5. lorcet
评论内容较长,点击标题查看
--lorcet
阅读排行榜
1. C++ Builder 2007 破解文件(2966)
2. C++Builder2007 安装办法(1557)
3. [工具]VSS2005 下载(1510)
4. 用boost::regex来做词法分析(1485)
5. 花一晚上琢磨了个Skin换肤代码,请各位指教!(1312)
6. 以前写的一个网络流封包类(1169)
7. 用处不大却不是没用的一个类!(1154)
8. 发一个mir2的内挂代码(1152)
9. BCGControlBar Library Professional Edition v9.56(1141)
10. MSDN的Bug!(1132)
评论排行榜
1. write a simple os with asm&c(23)
2. Visual Assist X v10.3.1534 build 2006.09.02 cracked dll's by Av0id(8)
3. 传奇2TMD(7)
4. BCGControlBar Library Professional Edition v9.56(7)
5. C++ Builder 2007 破解文件(6)
6. 更新了下TMD!几张截图(5)
7. 发一个mir2的内挂代码(4)
8. MSDN的Bug!(3)
9. 传2TMD截图(3)
10. 2007年5月 Windows XP Pro SP2 最新正版验证破解文件(3)
write a simple os with asm&c
1
extern
void
print(
char
color,
char
*
text );
2
int
i;
3
int
main()
4
{
5
print(
0xf
,
"
neocs: loader\n\r
"
);
6
7
print(
0xf
,
"
it's written by C!\n\r
"
);
8
9
return
0
;
10
11
}
1
extrn _main:near
2
.model tiny
3
.code
4
5
public
_halt, main, _print,
6
7
main proc near
8
mov dx,ax
9
mov ax,cs
10
mov ds,ax
11
mov es,ax
12
mov ss,ax
13
mov ax,0fff0h
14
mov sp,ax
15
mov ax,dx
16
call _main
17
call _halt
18
main endp
19
20
_halt proc near
21
hl:
22
hlt
23
jmp
short
hl
24
_halt endp
25
26
_print proc near
27
push bp
28
mov bp,sp
29
push si
30
mov si,word ptr ss:[bp
+
6
]
31
mov bl,
byte
ptr ss:[bp
+
4
]
32
_loop:
33
mov al,
byte
ptr ds:[si]
34
test al,al
35
jz _break
36
mov bh,
0
37
mov ah,0eh
38
int
010h
39
inc si
40
jmp
short
_loop
41
42
_break:
43
pop si
44
mov sp,bp
45
pop bp
46
ret
47
_print endp
48
49
end main
50
Click here to download
posted on 2007-05-20 00:26
shaker(太子)
阅读(849)
评论(23)
编辑
收藏
引用
所属分类:
C++
Feedback
#
re: write a simple os with asm&c
2007-05-23 14:31
htqx
c 程序要用什么编译选项?
回复
更多评论
#
re: write a simple os with asm&c
2007-05-26 18:20
To Be C++
@htqx
在make文件里面由的 参考下!
回复
更多评论
#
re: write a simple os with asm&c
2007-06-04 11:35
过客
汇编??
回复
更多评论
#
re: write a simple os with asm&c
2007-06-05 21:53
To Be C++
and C
回复
更多评论
#
mwbthkuc
2008-06-14 21:44
mwbthkuc
gqzoynql
http://bxvoconj.com
ktjadufn zfhaylgf <a href="
http://ckctivjs.com">bxbqmyqk</a>
[URL=
http://ttlglqkw.com
]mhxylwch[/URL]
回复
更多评论
#
fioricet gusty alluvium
2008-06-15 04:10
fioricet gusty alluvium
The best thing to give to your enemy is forgiveness; to an opponent, tolerance; to a friend, your heart; to your child, a good example; to a father, deference; to your mother, conduct that will make her proud of you; to yourself, respect; to all men, charity.
回复
更多评论
#
benadryl
2008-06-15 07:12
benadryl
Do not believe that he who seeks to comfort you lives untroubled among the simple and quiet words that sometimes do you good. His life has much difficulty... Were it otherwise he would never have been able to find those words.
回复
更多评论
#
purchase viagra
2008-06-15 12:56
purchase viagra
Never let the demands of tomorrow interfere with the pleasures and excitement of today.
回复
更多评论
#
buy fioricet
2008-06-15 16:47
buy fioricet
I like weights. You know where you stand with them. Well, sometimes you're lying under them, trying not to let them crush you, but you see, you KNOW they'd crush you if they could. There's honesty.
回复
更多评论
#
alprazolam online
2008-06-15 20:40
alprazolam online
Keep cool and you command everybody.
回复
更多评论
#
buy xenical
2008-06-16 00:07
buy xenical
No.
回复
更多评论
#
buy hydrocodone
2008-06-16 00:10
buy hydrocodone
Humor is also a way of saying something serious.
回复
更多评论
#
generic viagra online
2008-06-16 00:10
generic viagra online
You create your opportunities by asking for them.
回复
更多评论
#
soma
2008-06-16 05:09
soma
Books...are like lobster shells, we surround ourselves with 'em, then we grow out of 'em and leave 'em behind, as evidence of our earlier stages of development.
回复
更多评论
#
order carisoprodol
2008-06-16 05:09
order carisoprodol
Here's to the crazy ones, the misfits, the rebels, the troublemakers, the round pegs in the square holes... the ones who see things differently -- they're not fond of rules... You can quote them, disagree with them, glorify or vilify them, but the only thing you can't do is ignore them because they change things... they push the human race forward, and while some may see them as the crazy ones, we see genius, because the ones who are crazy enough to think that they can change the world, are the ones who do.
回复
更多评论
#
losec
2008-06-16 05:10
losec
Even the fear of death is nothing compared to the fear of not having lived authentically and fully.
回复
更多评论
#
omeprazole
2008-06-16 09:29
omeprazole
Life is a great big canvas; throw all the paint on it you can.
回复
更多评论
#
cetirizine
2008-06-16 13:12
cetirizine
I never met anybody who said when they were a kid, "I wanna grow up and be a critic."
回复
更多评论
#
ambien
2008-06-16 17:01
ambien
What is the use of a house if you haven't got a tolerable planet to put it on?
回复
更多评论
#
lorcet
2008-06-16 20:24
lorcet
Winning is important to me, but what brings me real joy is the experience of being fully engaged in whatever I'm doing.
回复
更多评论
#
tylenol
2008-06-16 23:50
tylenol
He who will not reason is a bigot; he who cannot is a fool; and he who dares not is a slave.
回复
更多评论
#
escitalopram
2008-06-16 23:51
escitalopram
Laughing is the sensation of feeling good all over and showing it principally in one spot.
回复
更多评论
#
furosemide impedor chromotherapy
2008-06-16 23:57
furosemide impedor chromotherapy
Do it now. It is not safe to leave a generous feeling to the cooling influences of the world.
回复
更多评论
刷新评论列表
标题
姓名
主页
验证码
*
内容(提交失败后,可以通过“恢复上次提交”恢复刚刚提交的内容)
Remember Me?
登录
使用高级评论
新用户注册
返回页首
恢复上次提交
[使用Ctrl+Enter键可以直接提交]
相关文章:
BCGSoft announces that BCGControlBar Pro for MFC version 10.0 is available!
BCGControlBar Library Professional Edition v9.56
[ZT]C++ Boost Thread 编程指南
C++Builder2007 安装办法
[图书]使用wxWidgets进行跨平台程序开发
发一个mir2的内挂代码
使用boost::signals连接类成员函数
write a simple os with asm&c
以前写的一个网络流封包类
用boost::regex来做词法分析
博客园
BlogJava
博客生活
IT博客网
C++博客
PHP博客
博客园社区
管理博客
教师博客
天文博客
汽车博客
足球博客
股票博客
电子技术博客
Powered by:
C++博客
Copyright © shaker(太子)