{"id":8453,"date":"2014-02-14T16:04:56","date_gmt":"2014-02-14T21:04:56","guid":{"rendered":"http:\/\/mjtsai.com\/blog\/?p=8453"},"modified":"2014-02-14T16:04:56","modified_gmt":"2014-02-14T21:04:56","slug":"arm-immediate-value-encoding","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2014\/02\/14\/arm-immediate-value-encoding\/","title":{"rendered":"ARM Immediate Value Encoding"},"content":{"rendered":"<p><a href=\"http:\/\/alisdair.mcdiarmid.org\/2014\/01\/12\/arm-immediate-value-encoding.html\">Alisdair McDiarmid<\/a>:<\/p>\n<blockquote cite=\"http:\/\/alisdair.mcdiarmid.org\/2014\/01\/12\/arm-immediate-value-encoding.html\"><p>The rotated byte encoding allows the 12-bit value to represent a much more useful set of numbers than just 0&#8211;4095.<\/p>\n<p>ARM immediate values can represent any power of 2 from 0 to 31. So you can set, clear, or toggle any bit with one instruction.<\/p>\n<p>More generally, you can specify a byte value at any of the four locations in the word.<\/p><\/blockquote>","protected":false},"excerpt":{"rendered":"<p>Alisdair McDiarmid: The rotated byte encoding allows the 12-bit value to represent a much more useful set of numbers than just 0&#8211;4095. ARM immediate values can represent any power of 2 from 0 to 31. So you can set, clear, or toggle any bit with one instruction. More generally, you can specify a byte value [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"","apple_news_api_id":"","apple_news_api_modified_at":"","apple_news_api_revision":"","apple_news_api_share_url":"","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[4],"tags":[262,770,46,71],"class_list":["post-8453","post","type-post","status-publish","format-standard","hentry","category-programming-category","tag-arm","tag-assembly-language","tag-languagedesign","tag-programming"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/8453","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=8453"}],"version-history":[{"count":0,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/8453\/revisions"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=8453"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=8453"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=8453"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}