{"action":"created","issue":{"url":"https://api.github.com/repos/yegord/snowman/issues/14","labels_url":"https://api.github.com/repos/yegord/snowman/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/yegord/snowman/issues/14/comments","events_url":"https://api.github.com/repos/yegord/snowman/issues/14/events","html_url":"https://github.com/yegord/snowman/issues/14","id":88442798,"number":14,"title":"Possible Add Mips architecture.","user":{"login":"techbliss","id":3592375,"avatar_url":"https://avatars.githubusercontent.com/u/3592375?v=3","gravatar_id":"","url":"https://api.github.com/users/techbliss","html_url":"https://github.com/techbliss","followers_url":"https://api.github.com/users/techbliss/followers","following_url":"https://api.github.com/users/techbliss/following{/other_user}","gists_url":"https://api.github.com/users/techbliss/gists{/gist_id}","starred_url":"https://api.github.com/users/techbliss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/techbliss/subscriptions","organizations_url":"https://api.github.com/users/techbliss/orgs","repos_url":"https://api.github.com/users/techbliss/repos","events_url":"https://api.github.com/users/techbliss/events{/privacy}","received_events_url":"https://api.github.com/users/techbliss/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":205,"created_at":"2015-06-15T14:26:07Z","updated_at":"2015-07-26T10:07:03Z","closed_at":null,"body":"Hey Yegord.\r\n\r\nI see you switched to Capstone engine.\r\nSo Question is.\r\nYou think it would be possible to add MIPS architecture also to the decompiler,\r\nsince Capstone already have the architecture included in the capstone engine.\r\n\r\nhttps://github.com/aquynh/capstone/tree/master/arch/Mips\r\nOr would it be much work to add MIPS support.\r\nRegards"},"comment":{"url":"https://api.github.com/repos/yegord/snowman/issues/comments/124966701","html_url":"https://github.com/yegord/snowman/issues/14#issuecomment-124966701","issue_url":"https://api.github.com/repos/yegord/snowman/issues/14","id":124966701,"user":{"login":"hlide","id":56785,"avatar_url":"https://avatars.githubusercontent.com/u/56785?v=3","gravatar_id":"","url":"https://api.github.com/users/hlide","html_url":"https://github.com/hlide","followers_url":"https://api.github.com/users/hlide/followers","following_url":"https://api.github.com/users/hlide/following{/other_user}","gists_url":"https://api.github.com/users/hlide/gists{/gist_id}","starred_url":"https://api.github.com/users/hlide/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hlide/subscriptions","organizations_url":"https://api.github.com/users/hlide/orgs","repos_url":"https://api.github.com/users/hlide/repos","events_url":"https://api.github.com/users/hlide/events{/privacy}","received_events_url":"https://api.github.com/users/hlide/received_events","type":"User","site_admin":false},"created_at":"2015-07-26T10:07:03Z","updated_at":"2015-07-26T10:07:03Z","body":"The following cases are:\r\n\r\n1) (non-leaf) function has a prolog using *SW* to save *RA* in stack and a *LW* to restore *RA* from the same stack slot, so *JR $RA* is a plain *return*.\r\n\r\n2) (leaf) function is not altering *RA* at all, so *JR $RA* is also a plain *return*.\r\n\r\n3) function is altering *RA* with no symetric save/restore in stack, so *JR $RA* is acting as a plain *jump*.\r\n\r\n4) (leaf/non-leaf) function has a tail-call, that is a jump to another function through *J* instead of *JR $RA* at the end of the function.  This may be considered as a *call* followed by a *return*."}}