Skip to content

Commit

Permalink
更接近C语言的写法
Browse files Browse the repository at this point in the history
  • Loading branch information
yourtion committed Sep 10, 2014
1 parent c05803e commit 8e1b44b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 04_day/bootpack.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 8,7 @@ void HariMain(void)
p = (char *) 0xa0000; /* 地址变量赋值 */

for (i = 0; i <= 0xffff; i ) {
*(p i) = i & 0x0f;
p[i] = i & 0x0f;
}

for (;;) {
Expand Down

0 comments on commit 8e1b44b

Please sign in to comment.