{"id":70,"date":"2005-12-18T11:07:16","date_gmt":"2005-12-18T18:07:16","guid":{"rendered":"http:\/\/www.red-sweater.com\/blog\/?p=70"},"modified":"2005-12-18T11:28:36","modified_gmt":"2005-12-18T18:28:36","slug":"assembler-instruction-reference","status":"publish","type":"post","link":"https:\/\/redsweater.com\/blog\/70\/assembler-instruction-reference","title":{"rendered":"Assembler Instruction Reference"},"content":{"rendered":"<style type=\"text\/css\"><!-- .caption { border-style:dashed; border-width:1px; border-color:#BBBBBB; margin-left:20px; padding:10px;}--><\/style>\n<p>A nifty and not-so-obvious feature of the <a href=\"http:\/\/developer.apple.com\/tools\/shark_optimize.html\">Shark<\/a> tool that comes with Apple&#8217;s <a href=\"ftp:\/\/ftp.apple.com\/developer\/Tool_Chest\/Testing_-_Debugging\/Performance_tools\/\">CHUD<\/a> performance tools, is the &#8220;instruction set reference&#8221; that you can pull up for either PowerPC or Intel ISAs.<\/p>\n<p>\nThe feature is hidden away in Shark&#8217;s Help menu:\n<\/p>\n<p><center><img decoding=\"async\" src=\"http:\/\/www.red-sweater.com\/blog\/images\/SharkHelp.jpg\"\/><\/center><\/p>\n<p>\nSelecting either reference item brings up a floating window giving you easy access to the entire instruction set reference. What&#8217;s nice about the floating window is it stays visible no matter what application you&#8217;re working in. So if it&#8217;s convenient for you to have the instruction reference at your fingertips from gdb in the Terminal, you can bring it there.\n<\/p>\n<p>\nThe Shark interface to these references is just a lightweight PDF reader. If you&#8217;d rather read or search the document with a more conventional application like Preview or Acrobat Reader, you can access the underlying documents directly:\n<\/p>\n<div class=\"caption\">\n<pre>&quot;\/Library\/Application Support\/Shark\/Helpers\/PowerPC Help.app\/Contents\/Resources\/PPCISA.pdf&quot;\n&quot;\/Library\/Application Support\/Shark\/Helpers\/IA32 Help.app\/Contents\/Resources\/IA32ISA.pdf&quot;<\/pre>\n<\/div>\n<p>\nTransitioning from a PowerPC world to an Intel one is full of mystery and intrigue. Browsing the Intel reference I discovered an instruction &#8220;MASKMOVDQU.&#8221; Geez! That&#8217;s a long instruction mnemonic. Prior to Windows 95, you couldn&#8217;t even name files that long on most Intel-based machines!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A nifty and not-so-obvious feature of the Shark tool that comes with Apple&#8217;s CHUD performance tools, is the &#8220;instruction set reference&#8221; that you can pull up for either PowerPC or Intel ISAs. The feature is hidden away in Shark&#8217;s Help menu: Selecting either reference item brings up a floating window giving you easy access to [&hellip;]<\/p>\n","protected":false},"author":10,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13,5],"tags":[],"class_list":["post-70","post","type-post","status-publish","format-standard","hentry","category-intel","category-xcode"],"_links":{"self":[{"href":"https:\/\/redsweater.com\/blog\/wp-json\/wp\/v2\/posts\/70","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/redsweater.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/redsweater.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/redsweater.com\/blog\/wp-json\/wp\/v2\/users\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/redsweater.com\/blog\/wp-json\/wp\/v2\/comments?post=70"}],"version-history":[{"count":0,"href":"https:\/\/redsweater.com\/blog\/wp-json\/wp\/v2\/posts\/70\/revisions"}],"wp:attachment":[{"href":"https:\/\/redsweater.com\/blog\/wp-json\/wp\/v2\/media?parent=70"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/redsweater.com\/blog\/wp-json\/wp\/v2\/categories?post=70"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/redsweater.com\/blog\/wp-json\/wp\/v2\/tags?post=70"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}