{"id":458,"date":"2013-10-22T00:47:19","date_gmt":"2013-10-21T21:47:19","guid":{"rendered":"http:\/\/metehantoksoy.com\/?p=458"},"modified":"2013-10-22T00:47:19","modified_gmt":"2013-10-21T21:47:19","slug":"visual-studio-2013-ile-c-ve-assembly","status":"publish","type":"post","link":"https:\/\/metehantoksoy.com\/?p=458","title":{"rendered":"Visual Studio 2013 ILe &#8220;C&#8221; ve &#8220;Assembly&#8221;"},"content":{"rendered":"<p><a href=\"http:\/\/metehantoksoy.wordpress.com\/wp-content\/uploads\/2013\/10\/visualstudio2013_0_01.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-501\" alt=\"\" src=\"http:\/\/metehantoksoy.wordpress.com\/wp-content\/uploads\/2013\/10\/visualstudio2013_0_01.jpg?w=585\" width=\"585\" height=\"322\" srcset=\"https:\/\/metehantoksoy.com\/wp-content\/uploads\/2013\/10\/visualstudio2013_0_01.jpg 693w, https:\/\/metehantoksoy.com\/wp-content\/uploads\/2013\/10\/visualstudio2013_0_01-300x165.jpg 300w\" sizes=\"auto, (max-width: 585px) 85vw, 585px\" \/><\/a><\/p>\n<p>Merhaba Arkada\u015flar. Bug\u00fcn sizlerle Visual Studio 2013&#8217;te C dilinde program nas\u0131l yaz\u0131l\u0131r, bu program\u0131n &#8220;Assembly&#8221; dili kar\u015f\u0131l\u0131\u011f\u0131 nedir, C dili i\u00e7erisinde Assembly ile kod nas\u0131l yaz\u0131l\u0131r ve RAM ve Register&#8217;lardaki de\u011ferler nas\u0131l g\u00f6r\u00fcl\u00fcr konular\u0131na de\u011finece\u011fim.<\/p>\n<p>\u00d6zellikle bilgisayar m\u00fchendisli\u011fi \u00f6\u011frencileri olarak Assembly ve C Programlama dersini al\u0131yoruz. Visual Studio&#8217;nun \u00f6zelliklerinden C dilinde program yazarken de faydalanmak bulunmaz bir nimet olacakt\u0131r.<\/p>\n<p><!--more--><\/p>\n<p><span style=\"color:#3366ff;\"><strong>1 -)<\/strong>\u00a0\u00d6ncelikle Visual Studio 2013 program\u0131m\u0131z\u0131 a\u00e7\u0131n.<\/span><\/p>\n<p><a href=\"http:\/\/metehantoksoy.wordpress.com\/wp-content\/uploads\/2013\/10\/1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-459\" alt=\"1\" src=\"http:\/\/metehantoksoy.wordpress.com\/wp-content\/uploads\/2013\/10\/1.png?w=585\" width=\"585\" height=\"310\" srcset=\"https:\/\/metehantoksoy.com\/wp-content\/uploads\/2013\/10\/1.png 1366w, https:\/\/metehantoksoy.com\/wp-content\/uploads\/2013\/10\/1-300x159.png 300w, https:\/\/metehantoksoy.com\/wp-content\/uploads\/2013\/10\/1-1024x544.png 1024w, https:\/\/metehantoksoy.com\/wp-content\/uploads\/2013\/10\/1-768x408.png 768w\" sizes=\"auto, (max-width: 585px) 85vw, 585px\" \/><\/a><\/p>\n<p><span style=\"color:#3366ff;\"><strong>2 -)<\/strong>\u00a0<em>File \/ New Project\u00a0<\/em>&#8216;e t\u0131klay\u0131n.<\/span><\/p>\n<p><a href=\"http:\/\/metehantoksoy.wordpress.com\/wp-content\/uploads\/2013\/10\/2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-460\" alt=\"2\" src=\"http:\/\/metehantoksoy.wordpress.com\/wp-content\/uploads\/2013\/10\/2.png?w=585\" width=\"585\" height=\"311\" srcset=\"https:\/\/metehantoksoy.com\/wp-content\/uploads\/2013\/10\/2.png 1366w, https:\/\/metehantoksoy.com\/wp-content\/uploads\/2013\/10\/2-300x160.png 300w, https:\/\/metehantoksoy.com\/wp-content\/uploads\/2013\/10\/2-1024x545.png 1024w, https:\/\/metehantoksoy.com\/wp-content\/uploads\/2013\/10\/2-768x409.png 768w\" sizes=\"auto, (max-width: 585px) 85vw, 585px\" \/><\/a><\/p>\n<p><span style=\"color:#3366ff;\"><strong>3 -)<\/strong>\u00a0<em>Templates \/ Visual C++ \/ Empty Project<\/em> &#8216;e t\u0131klay\u0131n. Projenize bir isim verin.\u00a0<\/span><\/p>\n<p><a href=\"http:\/\/metehantoksoy.wordpress.com\/wp-content\/uploads\/2013\/10\/3.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-461\" alt=\"3\" src=\"http:\/\/metehantoksoy.wordpress.com\/wp-content\/uploads\/2013\/10\/3.png?w=585\" width=\"585\" height=\"312\" srcset=\"https:\/\/metehantoksoy.com\/wp-content\/uploads\/2013\/10\/3.png 1366w, https:\/\/metehantoksoy.com\/wp-content\/uploads\/2013\/10\/3-300x160.png 300w, https:\/\/metehantoksoy.com\/wp-content\/uploads\/2013\/10\/3-1024x546.png 1024w, https:\/\/metehantoksoy.com\/wp-content\/uploads\/2013\/10\/3-768x410.png 768w\" sizes=\"auto, (max-width: 585px) 85vw, 585px\" \/><\/a><\/p>\n<p><span style=\"color:#3366ff;\"><strong>4 -) <\/strong>\u00a0Biraz beklemeden sonra Solution Explorer&#8217;da projemiz g\u00f6z\u00fckt\u00fc. Solution Explorer&#8217;da yer alan Source Files&#8217;a sa\u011f t\u0131klay\u0131p <em>Add \/ New Item &#8216;<\/em>a t\u0131klay\u0131n.<\/span><\/p>\n<p><a href=\"http:\/\/metehantoksoy.wordpress.com\/wp-content\/uploads\/2013\/10\/5.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-463\" alt=\"5\" src=\"http:\/\/metehantoksoy.wordpress.com\/wp-content\/uploads\/2013\/10\/5.png?w=585\" width=\"585\" height=\"228\" srcset=\"https:\/\/metehantoksoy.com\/wp-content\/uploads\/2013\/10\/5.png 1366w, https:\/\/metehantoksoy.com\/wp-content\/uploads\/2013\/10\/5-300x117.png 300w, https:\/\/metehantoksoy.com\/wp-content\/uploads\/2013\/10\/5-1024x400.png 1024w, https:\/\/metehantoksoy.com\/wp-content\/uploads\/2013\/10\/5-768x300.png 768w\" sizes=\"auto, (max-width: 585px) 85vw, 585px\" \/><\/a><\/p>\n<p><strong><span style=\"color:#3366ff;\">5 -) <\/span><\/strong><span style=\"color:#3366ff;\"><em>Installed \/ Visual C++ \/ C++ File(.cpp)\u00a0<\/em>&#8216;yi se\u00e7ip \u00a0tercihe g\u00f6re Source File&#8217;\u0131m\u0131za bir isim verdikten sonra <em>Add\u00a0<\/em>&#8216;e t\u0131kl\u0131yoruz.<\/span><br \/>\n<a href=\"http:\/\/metehantoksoy.wordpress.com\/wp-content\/uploads\/2013\/10\/6.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-464\" alt=\"6\" src=\"http:\/\/metehantoksoy.wordpress.com\/wp-content\/uploads\/2013\/10\/6.png?w=585\" width=\"585\" height=\"311\" srcset=\"https:\/\/metehantoksoy.com\/wp-content\/uploads\/2013\/10\/6.png 1366w, https:\/\/metehantoksoy.com\/wp-content\/uploads\/2013\/10\/6-300x160.png 300w, https:\/\/metehantoksoy.com\/wp-content\/uploads\/2013\/10\/6-1024x545.png 1024w, https:\/\/metehantoksoy.com\/wp-content\/uploads\/2013\/10\/6-768x409.png 768w\" sizes=\"auto, (max-width: 585px) 85vw, 585px\" \/><\/a><\/p>\n<p><span style=\"color:#3366ff;\"><strong>6 -)<\/strong>\u00a0Bo\u015f bir Source File \u00f6n\u00fcm\u00fcze geldi. C++ derleyicisi, C kodlar\u0131n\u0131 da derleyebildi\u011fi i\u00e7in C++ projesinde C program\u0131m\u0131z\u0131 yazabiliriz.<strong>\u00a0<\/strong><\/span><\/p>\n<p><a href=\"http:\/\/metehantoksoy.wordpress.com\/wp-content\/uploads\/2013\/10\/7.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-465\" alt=\"7\" src=\"http:\/\/metehantoksoy.wordpress.com\/wp-content\/uploads\/2013\/10\/7.png?w=585\" width=\"585\" height=\"310\" srcset=\"https:\/\/metehantoksoy.com\/wp-content\/uploads\/2013\/10\/7.png 1366w, https:\/\/metehantoksoy.com\/wp-content\/uploads\/2013\/10\/7-300x159.png 300w, https:\/\/metehantoksoy.com\/wp-content\/uploads\/2013\/10\/7-1024x544.png 1024w, https:\/\/metehantoksoy.com\/wp-content\/uploads\/2013\/10\/7-768x408.png 768w\" sizes=\"auto, (max-width: 585px) 85vw, 585px\" \/><\/a><\/p>\n<p><span style=\"color:#3366ff;\"><strong>7 -)<\/strong>\u00a0 Basit de olsa biraz kod yazal\u0131m. \u00a0Derledi\u011finizde ve \u00e7al\u0131\u015ft\u0131rd\u0131\u011f\u0131n\u0131zda Normal bir derleyicide derlenmi\u015f gibi \u00e7al\u0131\u015facakt\u0131r. Visual Studio&#8217;da kodu yazmam\u0131z\u0131n nedeni Visual Studio&#8217;nun g\u00fc\u00e7l\u00fc \u00f6zellikleri. Ba\u015fl\u0131ca neden olarak vermek gerekirse Visual Studio&#8217;nun geli\u015fmi\u015f\u00a0intellisense \u00f6zelli\u011fini g\u00f6sterebiliriz.\u00a0<\/span><\/p>\n<p><a href=\"http:\/\/metehantoksoy.wordpress.com\/wp-content\/uploads\/2013\/10\/8.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-466\" alt=\"8\" src=\"http:\/\/metehantoksoy.wordpress.com\/wp-content\/uploads\/2013\/10\/8.png?w=585\" width=\"585\" height=\"311\" srcset=\"https:\/\/metehantoksoy.com\/wp-content\/uploads\/2013\/10\/8.png 1366w, https:\/\/metehantoksoy.com\/wp-content\/uploads\/2013\/10\/8-300x160.png 300w, https:\/\/metehantoksoy.com\/wp-content\/uploads\/2013\/10\/8-1024x546.png 1024w, https:\/\/metehantoksoy.com\/wp-content\/uploads\/2013\/10\/8-768x409.png 768w\" sizes=\"auto, (max-width: 585px) 85vw, 585px\" \/><\/a><\/p>\n<p><span style=\"color:#3366ff;\"><strong>8 -)<\/strong>\u00a0E\u011fer Assembly kodlar\u0131n\u0131 g\u00f6rmek istiyorsak \u00f6nce &#8220;Step Into&#8221; modunda uygulamay\u0131 \u00e7al\u0131\u015ft\u0131rmam\u0131z gerekir. Bunu da <em>Debug \/ Step Into \u00a0<\/em>yolu izlenerek\u00a0yap\u0131labilir. Assembly kodlar\u0131n\u0131n g\u00f6r\u00fcld\u00fc\u011f\u00fc pencereyi a\u00e7mak i\u00e7in <em>Debug \/ Windows \/ Disassembly<\/em> &#8216;ye t\u0131klamam\u0131z yeterli.\u00a0<\/span><\/p>\n<p><a href=\"http:\/\/metehantoksoy.wordpress.com\/wp-content\/uploads\/2013\/10\/11.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-469\" alt=\"11\" src=\"http:\/\/metehantoksoy.wordpress.com\/wp-content\/uploads\/2013\/10\/11.png?w=585\" width=\"585\" height=\"311\" srcset=\"https:\/\/metehantoksoy.com\/wp-content\/uploads\/2013\/10\/11.png 1366w, https:\/\/metehantoksoy.com\/wp-content\/uploads\/2013\/10\/11-300x160.png 300w, https:\/\/metehantoksoy.com\/wp-content\/uploads\/2013\/10\/11-1024x546.png 1024w, https:\/\/metehantoksoy.com\/wp-content\/uploads\/2013\/10\/11-768x409.png 768w\" sizes=\"auto, (max-width: 585px) 85vw, 585px\" \/><\/a><\/p>\n<p><span style=\"color:#3366ff;\"><strong>9-) <\/strong>Burada yazd\u0131\u011f\u0131m\u0131z C kodlar\u0131n\u0131n Assembly kod kar\u015f\u0131l\u0131klar\u0131n\u0131 g\u00f6rebilirsiniz.\u00a0<\/span><\/p>\n<p><a href=\"http:\/\/metehantoksoy.wordpress.com\/wp-content\/uploads\/2013\/10\/12.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-470\" alt=\"12\" src=\"http:\/\/metehantoksoy.wordpress.com\/wp-content\/uploads\/2013\/10\/12.png?w=585\" width=\"585\" height=\"311\" srcset=\"https:\/\/metehantoksoy.com\/wp-content\/uploads\/2013\/10\/12.png 1366w, https:\/\/metehantoksoy.com\/wp-content\/uploads\/2013\/10\/12-300x160.png 300w, https:\/\/metehantoksoy.com\/wp-content\/uploads\/2013\/10\/12-1024x545.png 1024w, https:\/\/metehantoksoy.com\/wp-content\/uploads\/2013\/10\/12-768x409.png 768w\" sizes=\"auto, (max-width: 585px) 85vw, 585px\" \/><\/a><\/p>\n<p><span style=\"color:#3366ff;\"><strong>10-) <\/strong>RAM \u00fczerinde yer alan de\u011ferleri de g\u00f6rmek isteyebiliriz. Assembly kodunda Adresler ve Registerlar bulunmakta. RAM \u00fczerindeki verileri g\u00f6rmek i\u00e7in <em>Debug \/ Windows \/ Memory<\/em>\u00a0men\u00fcs\u00fcnden RAM se\u00e7erek g\u00f6rebilirsiniz.<\/span><\/p>\n<p><a href=\"http:\/\/metehantoksoy.wordpress.com\/wp-content\/uploads\/2013\/10\/13.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-471\" alt=\"13\" src=\"http:\/\/metehantoksoy.wordpress.com\/wp-content\/uploads\/2013\/10\/13.png?w=585\" width=\"585\" height=\"312\" srcset=\"https:\/\/metehantoksoy.com\/wp-content\/uploads\/2013\/10\/13.png 1366w, https:\/\/metehantoksoy.com\/wp-content\/uploads\/2013\/10\/13-300x160.png 300w, https:\/\/metehantoksoy.com\/wp-content\/uploads\/2013\/10\/13-1024x546.png 1024w, https:\/\/metehantoksoy.com\/wp-content\/uploads\/2013\/10\/13-768x410.png 768w\" sizes=\"auto, (max-width: 585px) 85vw, 585px\" \/><\/a><\/p>\n<p><span style=\"color:#3366ff;\"><strong>11-)\u00a0<strong>\u00a0<\/strong><\/strong>Ayn\u0131<strong><strong> <\/strong><\/strong>\u015fekilde\u00a0Registerlarda olan de\u011ferleri de g\u00f6rmek isteyebiliriz. Registerlar \u00fczerindeki verileri g\u00f6rmek i\u00e7in <em>Debug \/ Windows \/ Registers <\/em>&#8216;a t\u0131klay\u0131n.<\/span><\/p>\n<p><a href=\"http:\/\/metehantoksoy.wordpress.com\/wp-content\/uploads\/2013\/10\/15.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-486\" alt=\"15\" src=\"http:\/\/metehantoksoy.wordpress.com\/wp-content\/uploads\/2013\/10\/15.png?w=585\" width=\"585\" height=\"311\" srcset=\"https:\/\/metehantoksoy.com\/wp-content\/uploads\/2013\/10\/15.png 1366w, https:\/\/metehantoksoy.com\/wp-content\/uploads\/2013\/10\/15-300x160.png 300w, https:\/\/metehantoksoy.com\/wp-content\/uploads\/2013\/10\/15-1024x546.png 1024w, https:\/\/metehantoksoy.com\/wp-content\/uploads\/2013\/10\/15-768x409.png 768w\" sizes=\"auto, (max-width: 585px) 85vw, 585px\" \/><\/a><\/p>\n<p><span style=\"color:#3366ff;\"><strong>12-)\u00a0<\/strong>Ve son olarak C kodu i\u00e7erisinde Assembly yazmak i\u00e7in kod i\u00e7erisine &#8220;<\/span><span style=\"color:#3366ff;\">__asm{ }&#8221; blo\u011fu a\u00e7\u0131p, Assembly ifadeyi o blok i\u00e7erisine yazman\u0131z yeterli.\u00a0<\/span><\/p>\n<p><a href=\"http:\/\/metehantoksoy.wordpress.com\/wp-content\/uploads\/2013\/10\/16.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-488\" alt=\"16\" src=\"http:\/\/metehantoksoy.wordpress.com\/wp-content\/uploads\/2013\/10\/16.png?w=585\" width=\"585\" height=\"312\" srcset=\"https:\/\/metehantoksoy.com\/wp-content\/uploads\/2013\/10\/16.png 1366w, https:\/\/metehantoksoy.com\/wp-content\/uploads\/2013\/10\/16-300x160.png 300w, https:\/\/metehantoksoy.com\/wp-content\/uploads\/2013\/10\/16-1024x546.png 1024w, https:\/\/metehantoksoy.com\/wp-content\/uploads\/2013\/10\/16-768x410.png 768w\" sizes=\"auto, (max-width: 585px) 85vw, 585px\" \/><\/a><\/p>\n<p>Yard\u0131mc\u0131 olmas\u0131n\u0131 umar\u0131m. Her t\u00fcrl\u00fc soru-\u00f6neri i\u00e7in ileti\u015fim sayfas\u0131nda yer alan adreslerden bana ula\u015fabilirsiniz. G\u00f6r\u00fc\u015fmek \u00fczere.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Merhaba Arkada\u015flar. Bug\u00fcn sizlerle Visual Studio 2013&#8217;te C dilinde program nas\u0131l yaz\u0131l\u0131r, bu program\u0131n &#8220;Assembly&#8221; dili kar\u015f\u0131l\u0131\u011f\u0131 nedir, C dili i\u00e7erisinde Assembly ile kod nas\u0131l yaz\u0131l\u0131r ve RAM ve Register&#8217;lardaki de\u011ferler nas\u0131l g\u00f6r\u00fcl\u00fcr konular\u0131na de\u011finece\u011fim. \u00d6zellikle bilgisayar m\u00fchendisli\u011fi \u00f6\u011frencileri olarak Assembly ve C Programlama dersini al\u0131yoruz. Visual Studio&#8217;nun \u00f6zelliklerinden C dilinde program yazarken de faydalanmak &hellip; <a href=\"https:\/\/metehantoksoy.com\/?p=458\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Visual Studio 2013 ILe &#8220;C&#8221; ve &#8220;Assembly&#8221;&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[2,9],"tags":[30,44,45,46,62,63,92,162,175,209,213,217,253,257],"class_list":["post-458","post","type-post","status-publish","format-standard","hentry","category-development","category-visual-studio","tag-add","tag-assembly","tag-assembly-kod","tag-ax","tag-bx","tag-c","tag-disassembly","tag-mail-kurulum","tag-mov","tag-ram","tag-register","tag-resimli-anlatim","tag-visual-studio","tag-windows"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/metehantoksoy.com\/index.php?rest_route=\/wp\/v2\/posts\/458","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/metehantoksoy.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/metehantoksoy.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/metehantoksoy.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/metehantoksoy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=458"}],"version-history":[{"count":0,"href":"https:\/\/metehantoksoy.com\/index.php?rest_route=\/wp\/v2\/posts\/458\/revisions"}],"wp:attachment":[{"href":"https:\/\/metehantoksoy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=458"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/metehantoksoy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=458"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/metehantoksoy.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=458"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}