skip to main
|
skip to sidebar
電腦札記-軟體(開放google)
網頁
首頁
seo重點
autocad
test
2019年5月11日 星期六
去香港流程
出發前一周:
護照(不能過期)
線上辦港簽
訂機票
準備八達通卡
辦預付卡
準備現金
出發當天早上
先確認是那一個航廈
2019年2月26日 星期二
利用photoshop做出神奇放大鏡效果!
http://gain2013.pixnet.net/blog/post/29545951-%5Bps%5D-利用photoshop做出神奇放大鏡效果!
http://gain2013.pixnet.net/blog/post/29545951-%5Bps%5D-利用photoshop做出神奇放大鏡效果!
2019年2月9日 星期六
Vs 2017 建立 masm32 hello world(主控台)
ref:
用Visual Studio 2017寫x86組合語言
https://bing-yu.blogspot.com/2017/04/visual-stdio-2017x86.html
安裝「Visual Studio 2017 Community」
安裝「Intel 函式庫
Irvine 的安裝檔
」
檔案→新增→專案
選空白專案→確定
專案名稱(project1)→右鍵→組建相依性→組建自訂
勾選masm→確定
來源檔案→加入→新增項目
來源檔案→Visual c++→c++檔→檔名改為main.asm→新增
專案名稱(project1)→右鍵→屬性
組態屬性→Microsoft→General→Include path→輸入→C:\Irvine
組態屬性→Microsoft→Listing Flie→Assmebled code→輸入→$(ProjectName).lst
組態屬性→連結器→一般→其他程式庫目錄→輸入→C:\Irvine
組態屬性→輸入→其他相依性→最前面加上→Irvine32.lib;
組態屬性→連結器→偵錯→產生對應檔→是(/MAP)
組態屬性→連結器→系統→子系統→主控台 (/SUBSYSTEM:CONSOLE)→確定
測試hello world → ok
; AddTwo.asm - adds two 32-bit integers.
; Chapter 3 example
.386
.model flat,stdcall
.stack 4096
ExitProcess proto,dwExitCode:dword
.code
main proc
mov
eax,5
add
eax,6
invoke ExitProcess,0
main endp
end main
vs 2017 建立 C 語言 hello world
一、檔案->新增->專案
二、點選:空白專案(不要選主控台應用程式)->按確定
三、來源檔案->加入->新增項目
四、選C++檔->副檔名由cpp 改為c->新增
五、輸入 hello 內容->ctrl F5->ok
//
#include
<
stdio.h
>
int main()
{
printf("Hello world\n");
system("pause");
return 0;
}
較新的文章
較舊的文章
首頁
訂閱:
意見 (Atom)
文章分類
網誌存檔
▼
2019
(4)
▼
5月
(1)
去香港流程
►
2月
(3)
利用photoshop做出神奇放大鏡效果!
Vs 2017 建立 masm32 hello world(主控台)
vs 2017 建立 C 語言 hello world
►
2017
(1)
►
9月
(1)
►
2016
(3)
►
5月
(3)
►
2015
(2)
►
10月
(1)
►
1月
(1)
►
2013
(8)
►
12月
(3)
►
10月
(1)
►
8月
(1)
►
2月
(1)
►
1月
(2)
►
2012
(5)
►
3月
(2)
►
2月
(1)
►
1月
(2)
►
2011
(6)
►
10月
(1)
►
8月
(1)
►
7月
(4)
►
2010
(22)
►
12月
(4)
►
11月
(9)
►
10月
(5)
►
9月
(2)
►
8月
(1)
►
1月
(1)
►
2009
(5)
►
11月
(1)
►
10月
(1)
►
9月
(1)
►
8月
(2)
►
2008
(3)
►
11月
(1)
►
1月
(2)
►
2007
(3)
►
11月
(3)