{"id":24511,"date":"2025-12-06T09:01:54","date_gmt":"2025-12-06T00:01:54","guid":{"rendered":"https:\/\/blog.agentsoft.co.kr\/index.php\/2025\/12\/06\/24511\/"},"modified":"2025-12-06T09:01:54","modified_gmt":"2025-12-06T00:01:54","slug":"%ec%84%9c%ea%b0%95%eb%8c%80%ed%95%99%ea%b5%90-23%eb%85%84%eb%8f%84-%eb%a7%88%ec%9d%b4%ed%81%ac%eb%a1%9c%ed%94%84%eb%a1%9c%ec%84%b8%ec%84%9c%ec%9d%91%ec%9a%a9%ec%8b%a4%ed%97%98-4%ec%a3%bc%ec%b0%a8-lab0","status":"publish","type":"post","link":"https:\/\/blog.agentsoft.co.kr\/index.php\/2025\/12\/06\/24511\/","title":{"rendered":"\uc11c\uac15\ub300\ud559\uad50 23\ub144\ub3c4 \ub9c8\uc774\ud06c\ub85c\ud504\ub85c\uc138\uc11c\uc751\uc6a9\uc2e4\ud5d8 4\uc8fc\ucc28 Lab04 \uacb0\uacfc\ub808\ud3ec\ud2b8 (A+\uc790\ub8cc)"},"content":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/image4.happycampus.com\/Production\/thumb212\/2024\/03\/24\/data29579473-0001.jpg\"><img decoding=\"async\" src=\"https:\/\/image4.happycampus.com\/Production\/thumb212\/2024\/03\/24\/data29579473-0002.jpg\"><\/p>\n<p><strong>\ubaa9\ucc28<\/strong><\/p>\n<p>1. \ubaa9\uc801<br \/>\n2. \uc774\ub860<br \/>\n3. \uc2e4\ud5d8\uacfc\uc815<br \/>\n4. Exercises<br \/>\n5. \ucd94\uac00\uc2e4\ud5d8<br \/>\n6. \uacb0\ub860<br \/>\n7. \ucc38\uace0\ubb38\ud5cc<\/p>\n<p><strong>\ubcf8\ubb38\ub0b4\uc6a9<\/strong><\/p>\n<p>1.\ubaa9\uc801<br \/>\n&#8211; \ub17c\ub9ac, \uc5f0\uc0b0, \uacf1\uc148, \ub098\ub217\uc148, shift, rotation\uacfc \uac19\uc740 \ub370\uc774\ud130 \ucc98\ub9ac \uba85\ub839\uc5b4\ub4e4\uc744 \uc218\ud589\uc2dc\ud0a4\uba70, \ub808\uc9c0\uc2a4\ud130\uc5d0 \uc800\uc7a5\ub418\ub294 \uacb0\uacfc\uc640 flag\uc758 \ubcc0\ud654\ub97c \uc774\ud574\ud55c\ub2e4.<br \/>\n&#8211; Flag\ub4e4\uc758 \uc885\ub958\uc640 \uc5ed\ud560\uc5d0 \ub300\ud574 \uc774\ud574\ud55c\ub2e4. flag\uac00 set\ub418\uc5c8\uc744 \ub54c\uc758 \uc758\ubbf8\ub97c \uc774\ud574\ud55c\ub2e4.<br \/>\n&#8211; bit field\uc640 extension\uacfc \uad00\ub828\ub41c bits\ub2e8\uc704 \ub370\uc774\ud130\ucc98\ub9ac \uba85\ub839\uc5b4\ub4e4\uc758 \ub3d9\uc791\uc744 \ud655\uc778\ud55c\ub2e4.<\/p>\n<p>2.\uc774\ub860<br \/>\n2-1. Number system \/ ASCII code<br \/>\n8\uc9c4\uc218\uc640 16\uc9c4\uc218\ub294 2\uc9c4\uc218\ub97c 3bits, 4bits \ub2e8\uc704\ub85c \ubb36\uc5b4 \ud45c\ud604\ud558\ub294 \uc218\uccb4\uacc4\uc774\ub2e4. \uc774\ub4e4\uc740 \ubaa8\ub450 10\uc9c4\uc218\ub85c \uc0c1\ud638\ubcc0\ud658 \uac00\ub2a5\ud558\ub2e4. \ucef4\ud4e8\ud130\ub294 \uc74c\uc218\ub97c \ud3ec\ud568\ud55c signed number\ub97c \ud45c\ud604\ud558\uae30 \uc704\ud574, 2\u2019s complement\ub97c \uc0ac\uc6a9\ud55c\ub2e4. 2\u2019s complement\ub294 MSB\ub97c sign bit\ub85c \uac04\uc8fc\ud558\uc5ec, MSB\uac00 0\uc774\uba74 \uc591\uc218, 1\uc774\uba74 \uc74c\uc218\ub85c \ud45c\ud604\ud55c\ub2e4. \ub610\ud55c \uc591\uc218\uc5d0\uc11c \uc74c\uc218\ub85c\uc758 \ubcc0\ud658\uc740 2\uc9c4\uc218 \uac01 bit\ub97c inverting \ud6c4, 1\uc744 \ub3c4\ud558\ub294 \ubc29\uc2dd\uc73c\ub85c \uc774\ub904\uc9c4\ub2e4. 2\u2019 complement\ub294 \ube84\uc148\uc744 \uc74c\uc218\uc640\uc758 \ub367\uc148\uc73c\ub85c \ud45c\ud604\ud560 \uc218 \uc788\uace0, \uc774\uc5d0 \ub530\ub77c \ub367\uc148\uacfc \ube84\uc148\uc744 \uc218\ud589\ud558\uae30 \uc704\ud55c \ud558\ub4dc\uc6e8\uc5b4\uac00 \ub3d9\uc77c\ud574\uc9c0\uace0, unsigned number\uc758 \uc5f0\uc0b0 \ud558\ub4dc\uc6e8\uc5b4\ub97c signed number\uc5d0\ub3c4 \uadf8\ub300\ub85c \uc801\uc6a9\ud560 \uc218 \uc788\ub2e4\ub294 \uc7a5\uc810\uc774 \uc788\uae30\uc5d0, \uc8fc\ub85c \uc0ac\uc6a9\ub41c\ub2e4.<\/p>\n<p>\uc5f0\uc0b0\uc5d0 \uc0ac\uc6a9\ub418\uac70\ub098 \uc8fc\uc18c\ub97c \ud45c\ud604\ud560 \uc218 \uc788\ub294 \u2018\uc218\u2019\uc640 text \ubb38\uc11c\ub97c \uad6c\uc131\ud558\ub294 string\uc5d0\uc11c\uc758 \u2018\ud45c\uae30\u2019\ub97c \uad6c\ubd84\ud558\uae30 \uc704\ud574 ASCII code\uac00 \uc0ac\uc6a9\ub41c\ub2e4. character \u20180\u2019 \uac19\uc740 \uacbd\uc6b0, 7-bit\ub85c coding\ub418\uc5b4 0x30\uc744 \ubc30\uc815\ud558\ub294 \ubc29\uc2dd\uc774\ub2e4.<\/p>\n<p>table 1.1: ASCII code table<br \/>\ntable 1.1\uacfc \uac19\uc774, 0x00~0x1F, 0x7F\uc758 \uacbd\uc6b0 \ucd1d 33\uac1c\uc758 control character\ub85c, \ub098\uba38\uc9c0\ub294 95\uac1c\uc758 printerable character\ub85c \uad6c\uc131\ub41c\ub2e4. 0x00\uc740 NULL character\uc5d0 \ud574\ub2f9\ub418\uace0, string\uc758 \ub9c8\uc9c0\ub9c9\uc744 \ud45c\uc2dc\ud55c\ub2e4.<\/p>\n<p>\ucd9c\ucc98 : <a href=\"https:\/\/www.happycampus.com\/report-doc\/29579473\/\" target=\"_blank\">\ud574\ud53c\ucea0\ud37c\uc2a4<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\ubaa9\ucc28 1. \ubaa9\uc801 2. \uc774\ub860 3. \uc2e4\ud5d8\uacfc\uc815 4. Exercises 5. \ucd94\uac00\uc2e4\ud5d8 6. \uacb0\ub860 7. \ucc38\uace0\ubb38\ud5cc \ubcf8\ubb38\ub0b4\uc6a9 1.\ubaa9\uc801 &#8211; \ub17c\ub9ac, \uc5f0\uc0b0, \uacf1\uc148, \ub098\ub217\uc148, shift, rotation\uacfc \uac19\uc740 \ub370\uc774\ud130 \ucc98\ub9ac \uba85\ub839\uc5b4\ub4e4\uc744 \uc218\ud589\uc2dc\ud0a4\uba70, \ub808\uc9c0\uc2a4\ud130\uc5d0 \uc800\uc7a5\ub418\ub294 \uacb0\uacfc\uc640 flag\uc758 \ubcc0\ud654\ub97c \uc774\ud574\ud55c\ub2e4. &#8211; Flag\ub4e4\uc758 \uc885\ub958\uc640 \uc5ed\ud560\uc5d0 \ub300\ud574 \uc774\ud574\ud55c\ub2e4. flag\uac00 set\ub418\uc5c8\uc744 \ub54c\uc758 \uc758\ubbf8\ub97c \uc774\ud574\ud55c\ub2e4. &#8211; bit field\uc640 extension\uacfc \uad00\ub828\ub41c bits\ub2e8\uc704 \ub370\uc774\ud130\ucc98\ub9ac \uba85\ub839\uc5b4\ub4e4\uc758 \ub3d9\uc791\uc744 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[27140,2177,15718,8024,30467,30468,30469,5955,5650],"class_list":["post-24511","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-4-5-","tag-2177","tag-15718","tag-8024","tag-30467","tag-30468","tag-30469","tag-5955","tag-5650"],"_links":{"self":[{"href":"https:\/\/blog.agentsoft.co.kr\/index.php\/wp-json\/wp\/v2\/posts\/24511","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.agentsoft.co.kr\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.agentsoft.co.kr\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.agentsoft.co.kr\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.agentsoft.co.kr\/index.php\/wp-json\/wp\/v2\/comments?post=24511"}],"version-history":[{"count":0,"href":"https:\/\/blog.agentsoft.co.kr\/index.php\/wp-json\/wp\/v2\/posts\/24511\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.agentsoft.co.kr\/index.php\/wp-json\/wp\/v2\/media?parent=24511"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.agentsoft.co.kr\/index.php\/wp-json\/wp\/v2\/categories?post=24511"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.agentsoft.co.kr\/index.php\/wp-json\/wp\/v2\/tags?post=24511"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}