mirror of
https://github.com/yourtion/30dayMakeOS.git
synced 2026-02-03 01:53:24 +08:00
更接近C语言的写法
This commit is contained in:
@@ -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 (;;) {
|
||||
|
||||
Reference in New Issue
Block a user