{"action":"closed","issue":{"url":"https://api.github.com/repos/mikeakohn/naken_asm/issues/20","repository_url":"https://api.github.com/repos/mikeakohn/naken_asm","labels_url":"https://api.github.com/repos/mikeakohn/naken_asm/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/mikeakohn/naken_asm/issues/20/comments","events_url":"https://api.github.com/repos/mikeakohn/naken_asm/issues/20/events","html_url":"https://github.com/mikeakohn/naken_asm/issues/20","id":158195089,"number":20,"title":"strange bit in jmp opcode","user":{"login":"hosewiejacke","id":18331923,"avatar_url":"https://avatars.githubusercontent.com/u/18331923?v=3","gravatar_id":"","url":"https://api.github.com/users/hosewiejacke","html_url":"https://github.com/hosewiejacke","followers_url":"https://api.github.com/users/hosewiejacke/followers","following_url":"https://api.github.com/users/hosewiejacke/following{/other_user}","gists_url":"https://api.github.com/users/hosewiejacke/gists{/gist_id}","starred_url":"https://api.github.com/users/hosewiejacke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hosewiejacke/subscriptions","organizations_url":"https://api.github.com/users/hosewiejacke/orgs","repos_url":"https://api.github.com/users/hosewiejacke/repos","events_url":"https://api.github.com/users/hosewiejacke/events{/privacy}","received_events_url":"https://api.github.com/users/hosewiejacke/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-06-02T17:23:35Z","updated_at":"2016-06-03T15:16:47Z","closed_at":"2016-06-03T15:16:47Z","body":"Given this code:\r\n\r\n    loop: jmp loop\r\n\r\nAssembling by hand:\r\n\r\n* `jmp` gives *3Cxx* (according to slau144j, page 62)\r\n* `loop` gives *-1* (jump back 1 word)\r\n* combining *3Cxx* and 9 bits from *-1* gives **3DFF**\r\n\r\nAssembling with naken_asm:\r\n\r\n* gives **3FFF** [1]\r\n\r\nWho is wrong?\r\n\r\n[1]  The full Intel HEX is:\r\n\r\n    :02000000FF3FC0\r\n    :00000001FF\r\n\r\nEDIT:\r\n\r\n* changed label from `l` to `loop` to avoid similarity with digit 1\r\n* added page number for slau144j\r\n* slightly improved layout and markup"}}
{"actor":{"display_login":"hosewiejacke"}}