data segmentA db 9 ;緩衝區長度 db ? ;保留單元, 存放輸入的實際字元個數 db 10 dup('$') ;存放輸入的字串h db 10,13,'$' ;換行,斷行符號,字串結束符msg db 'Input number : $'msg1 db 'Your number is :
昨天,我寫了個彙編代碼,命名為helloworld.txt後來,用masm編譯,提示“ Unable to open input file: e:/masm50/helloworld.txt"開始以為原始碼敲錯了,就改代碼。而確定無錯了之後,還不能編譯通過。於是,網上百度了一下,原來是這樣:masm5.0是在DOS下執行的彙編程式,DOS下檔案的主名不能超過8個字元。最後將helloworld.txt重新命名為h.txt就能正常編譯通過了。原來就是這個小小的命名問題煩惱了我好長時間啊。
1、開啟一個別人編譯正常的項目(用IAR5.5建立的),編譯時間提示如下錯誤:Error[Pe147]: declaration is incompatible with "__interwork __softfp unsigned long __get_PSP(void)"(declared at line 52 of "xx:\IAR Systems6\Embedded Workbench
路由器Router2的配置:Router>enableRouter#conf terEnter configurationcommands, one per line. End with CNTL/Z.Router(config)#ipv6 unicast-routing (開啟IPv6單播路由)Router(config)#interfa0/0Router(config-if)#ipv6 address
開始GeekOS之旅了, What 's the next Step ? 不急,閱讀下GeekOS內建的手冊.Introduction:GeekOS is an educational operating system kernel.GeekOS tries to combine realism and simplicity. It is a realisticsystem because it targets a real hardware platform - the x86 PC.It
這個Project的編譯和bochrc的配置沒什麼特殊之處,所以編譯後然後啟動bochs會顯示如下介面:ok, 可以看到 Unimplemented feature.:Switch to a new user address space, if necessary. 這個就是我們的任務了.這句話比較簡潔: 建立新的使用者地址空間. 但是我們再來看附帶的文檔, Project Synopsis .就會發現任務不止這一個 .仔細閱讀這段 然後把具體任務整理如下:1.