{"action":"created","issue":{"url":"https://api.github.com/repos/aquynh/capstone/issues/346","labels_url":"https://api.github.com/repos/aquynh/capstone/issues/346/labels{/name}","comments_url":"https://api.github.com/repos/aquynh/capstone/issues/346/comments","events_url":"https://api.github.com/repos/aquynh/capstone/issues/346/events","html_url":"https://github.com/aquynh/capstone/issues/346","id":72235662,"number":346,"title":"for \"rcl %edx, $1 (D1 D2), capstone does not recognize constant immediate operand.","user":{"login":"bipulr","id":2661918,"avatar_url":"https://avatars.githubusercontent.com/u/2661918?v=3","gravatar_id":"","url":"https://api.github.com/users/bipulr","html_url":"https://github.com/bipulr","followers_url":"https://api.github.com/users/bipulr/followers","following_url":"https://api.github.com/users/bipulr/following{/other_user}","gists_url":"https://api.github.com/users/bipulr/gists{/gist_id}","starred_url":"https://api.github.com/users/bipulr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bipulr/subscriptions","organizations_url":"https://api.github.com/users/bipulr/orgs","repos_url":"https://api.github.com/users/bipulr/repos","events_url":"https://api.github.com/users/bipulr/events{/privacy}","received_events_url":"https://api.github.com/users/bipulr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-04-30T18:04:41Z","updated_at":"2015-05-01T14:32:32Z","closed_at":null,"body":"I noticed that capstone does not correctly decode byte code corresponding to rcl %edx, $1, but it decodes correctly rol %edx, $1. \r\n\r\nThe reason I can see that in OpInfo, value corresponding to RCL32r1  is so low,  22542U, that \"switch ((Bits >> 20) & 31) { \" in printInstruction() evaluates to zero and \"case 14: op_addImm(MI, 1)\" is not triggered. That is not the case with rol.\r\n\r\nCan you please let me know how arch/X86/X86GenAsmWriter1.inc  file is generated. I do not see any tool integrated in capstone package. How I can fix this??\r\n"},"comment":{"url":"https://api.github.com/repos/aquynh/capstone/issues/comments/98145242","html_url":"https://github.com/aquynh/capstone/issues/346#issuecomment-98145242","issue_url":"https://api.github.com/repos/aquynh/capstone/issues/346","id":98145242,"user":{"login":"aquynh","id":5965536,"avatar_url":"https://avatars.githubusercontent.com/u/5965536?v=3","gravatar_id":"","url":"https://api.github.com/users/aquynh","html_url":"https://github.com/aquynh","followers_url":"https://api.github.com/users/aquynh/followers","following_url":"https://api.github.com/users/aquynh/following{/other_user}","gists_url":"https://api.github.com/users/aquynh/gists{/gist_id}","starred_url":"https://api.github.com/users/aquynh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aquynh/subscriptions","organizations_url":"https://api.github.com/users/aquynh/orgs","repos_url":"https://api.github.com/users/aquynh/repos","events_url":"https://api.github.com/users/aquynh/events{/privacy}","received_events_url":"https://api.github.com/users/aquynh/received_events","type":"User","site_admin":false},"created_at":"2015-05-01T14:32:32Z","updated_at":"2015-05-01T14:32:32Z","body":"yes, Intel is the default syntax, and i dont think you will have this problem, which is only for AT&T syntax.\r\n\r\nno worry, i will fix all of the similar instructions.\r\n\r\nthanks."}}