{"action":"created","issue":{"url":"https://api.github.com/repos/tmr232/Sark/issues/29","repository_url":"https://api.github.com/repos/tmr232/Sark","labels_url":"https://api.github.com/repos/tmr232/Sark/issues/29/labels{/name}","comments_url":"https://api.github.com/repos/tmr232/Sark/issues/29/comments","events_url":"https://api.github.com/repos/tmr232/Sark/issues/29/events","html_url":"https://github.com/tmr232/Sark/issues/29","id":138213065,"number":29,"title":"Instruction operands list misbehaves.","user":{"login":"ronyrus","id":1329734,"avatar_url":"https://avatars.githubusercontent.com/u/1329734?v=3","gravatar_id":"","url":"https://api.github.com/users/ronyrus","html_url":"https://github.com/ronyrus","followers_url":"https://api.github.com/users/ronyrus/followers","following_url":"https://api.github.com/users/ronyrus/following{/other_user}","gists_url":"https://api.github.com/users/ronyrus/gists{/gist_id}","starred_url":"https://api.github.com/users/ronyrus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ronyrus/subscriptions","organizations_url":"https://api.github.com/users/ronyrus/orgs","repos_url":"https://api.github.com/users/ronyrus/repos","events_url":"https://api.github.com/users/ronyrus/events{/privacy}","received_events_url":"https://api.github.com/users/ronyrus/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-03-03T15:39:19Z","updated_at":"2016-03-07T09:54:08Z","closed_at":null,"body":"The instruction at 'sz_ea' is `MOV W3, #0x50`\r\nThe following test code should print the same operands twice.\r\n~~~\r\n            print sark.Line(sz_ea)\r\n            opns = sark.Line(sz_ea).insn.operands\r\n            print opns\r\n            print \"------------------------\"\r\n            print opns[0]\r\n            print opns[1]\r\n            print \"------------------------\"\r\n            print sark.Line(sz_ea).insn.operands[0]\r\n            print sark.Line(sz_ea).insn.operands[1]\r\n~~~\r\nThe output is:\r\n~~~\r\n[FFFFFF80206CDFD0]    MOV             W3, #0x50\r\n[<Operand(n=0, text='W3')>, <Operand(n=1, text='#0x50')>]\r\n------------------------\r\nW3\r\nW3\r\n------------------------\r\nW3\r\n#0x50\r\n~~~\r\nI've observed other strange behavior related to operands, which is a bit harder to reproduce.\r\nHowever, I believe that it might be a manifestation of the same problem."},"comment":{"url":"https://api.github.com/repos/tmr232/Sark/issues/comments/193185838","html_url":"https://github.com/tmr232/Sark/issues/29#issuecomment-193185838","issue_url":"https://api.github.com/repos/tmr232/Sark/issues/29","id":193185838,"user":{"login":"tmr232","id":1386239,"avatar_url":"https://avatars.githubusercontent.com/u/1386239?v=3","gravatar_id":"","url":"https://api.github.com/users/tmr232","html_url":"https://github.com/tmr232","followers_url":"https://api.github.com/users/tmr232/followers","following_url":"https://api.github.com/users/tmr232/following{/other_user}","gists_url":"https://api.github.com/users/tmr232/gists{/gist_id}","starred_url":"https://api.github.com/users/tmr232/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tmr232/subscriptions","organizations_url":"https://api.github.com/users/tmr232/orgs","repos_url":"https://api.github.com/users/tmr232/repos","events_url":"https://api.github.com/users/tmr232/events{/privacy}","received_events_url":"https://api.github.com/users/tmr232/received_events","type":"User","site_admin":false},"created_at":"2016-03-07T09:54:08Z","updated_at":"2016-03-07T09:54:08Z","body":"I can't seem to reproduce it.\r\n\r\nDo you have any sample that I can use to reproduce it?"}}