{"action":"created","issue":{"url":"https://api.github.com/repos/eteran/edb-debugger/issues/265","labels_url":"https://api.github.com/repos/eteran/edb-debugger/issues/265/labels{/name}","comments_url":"https://api.github.com/repos/eteran/edb-debugger/issues/265/comments","events_url":"https://api.github.com/repos/eteran/edb-debugger/issues/265/events","html_url":"https://github.com/eteran/edb-debugger/issues/265","id":110567550,"number":265,"title":"Capstone disassembly quirks with negative values?","user":{"login":"eteran","id":571477,"avatar_url":"https://avatars.githubusercontent.com/u/571477?v=3","gravatar_id":"","url":"https://api.github.com/users/eteran","html_url":"https://github.com/eteran","followers_url":"https://api.github.com/users/eteran/followers","following_url":"https://api.github.com/users/eteran/following{/other_user}","gists_url":"https://api.github.com/users/eteran/gists{/gist_id}","starred_url":"https://api.github.com/users/eteran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eteran/subscriptions","organizations_url":"https://api.github.com/users/eteran/orgs","repos_url":"https://api.github.com/users/eteran/repos","events_url":"https://api.github.com/users/eteran/events{/privacy}","received_events_url":"https://api.github.com/users/eteran/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/eteran/edb-debugger/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/eteran/edb-debugger/labels/help%20wanted","name":"help wanted","color":"159818"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-10-09T00:32:35Z","updated_at":"2015-10-09T04:45:13Z","closed_at":null,"body":"I just noticed that the byte sequence: `48 b8 00 00 00 00 00 00 00 80` results in the disassembly\r\n\r\n    movabs rax, -0x8000000000000000\r\n\r\nThe negative sign seems incorrect here. And in fact, after this instruction is executed `rax` simply has a value of `0x8000000000000000`"},"comment":{"url":"https://api.github.com/repos/eteran/edb-debugger/issues/comments/146754520","html_url":"https://github.com/eteran/edb-debugger/issues/265#issuecomment-146754520","issue_url":"https://api.github.com/repos/eteran/edb-debugger/issues/265","id":146754520,"user":{"login":"eteran","id":571477,"avatar_url":"https://avatars.githubusercontent.com/u/571477?v=3","gravatar_id":"","url":"https://api.github.com/users/eteran","html_url":"https://github.com/eteran","followers_url":"https://api.github.com/users/eteran/followers","following_url":"https://api.github.com/users/eteran/following{/other_user}","gists_url":"https://api.github.com/users/eteran/gists{/gist_id}","starred_url":"https://api.github.com/users/eteran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eteran/subscriptions","organizations_url":"https://api.github.com/users/eteran/orgs","repos_url":"https://api.github.com/users/eteran/repos","events_url":"https://api.github.com/users/eteran/events{/privacy}","received_events_url":"https://api.github.com/users/eteran/received_events","type":"User","site_admin":false},"created_at":"2015-10-09T04:45:13Z","updated_at":"2015-10-09T04:45:13Z","body":"@10110111, that's kinda my point. `-0xFFFFFFFFFFFFFFFE` doesn't make sense (i mean, it basically mean **positive** `2`, because negating that value results in `0x0000000000000002`).\r\n\r\nFor similar reasons, `-0x8000000000000000 ` just looks weird "}}