{"id":692,"date":"2022-03-29T17:12:24","date_gmt":"2022-03-29T17:12:24","guid":{"rendered":"https:\/\/www.root42.de\/blog\/?p=692"},"modified":"2022-03-29T17:12:24","modified_gmt":"2022-03-29T17:12:24","slug":"lets-code-x86-assembly-0x04-div-and-debugging","status":"publish","type":"post","link":"https:\/\/www.root42.de\/blog\/?p=692","title":{"rendered":"Let\u2019s Code x86 Assembly: 0x04 DIV and Debugging"},"content":{"rendered":"\n<p>In this episode we learn how to use the DIV opcode for dividing integer numbers, how to print integer numbers to the screen, as well as how to use a debugger to understand what our program does. In all coding tasks looking for errors and understanding what the program actually does is a key aspect. So a debugger (here we use the Turbo Debugger by Borland) is a very useful tool that every developer should know how to use.<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"Let&#039;s Code x86 Assembly: 0x04 DIV and Debugging\" width=\"840\" height=\"473\" src=\"https:\/\/www.youtube.com\/embed\/kQu2fvv1BZA?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>In this episode we learn how to use the DIV opcode for dividing integer numbers, how to print integer numbers to the screen, as well as how to use a debugger to understand what our program does. In all coding tasks looking for errors and understanding what the program actually does is a key aspect. &hellip; <a href=\"https:\/\/www.root42.de\/blog\/?p=692\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Let\u2019s Code x86 Assembly: 0x04 DIV and Debugging&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.root42.de\/blog\/index.php?rest_route=\/wp\/v2\/posts\/692"}],"collection":[{"href":"https:\/\/www.root42.de\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.root42.de\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.root42.de\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.root42.de\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=692"}],"version-history":[{"count":1,"href":"https:\/\/www.root42.de\/blog\/index.php?rest_route=\/wp\/v2\/posts\/692\/revisions"}],"predecessor-version":[{"id":693,"href":"https:\/\/www.root42.de\/blog\/index.php?rest_route=\/wp\/v2\/posts\/692\/revisions\/693"}],"wp:attachment":[{"href":"https:\/\/www.root42.de\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=692"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.root42.de\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=692"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.root42.de\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=692"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}