{"action":"created","issue":{"url":"https://api.github.com/repos/vhelin/wla-dx/issues/34","repository_url":"https://api.github.com/repos/vhelin/wla-dx","labels_url":"https://api.github.com/repos/vhelin/wla-dx/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/vhelin/wla-dx/issues/34/comments","events_url":"https://api.github.com/repos/vhelin/wla-dx/issues/34/events","html_url":"https://github.com/vhelin/wla-dx/issues/34","id":82066401,"number":34,"title":"Remove Need for \".b\" and \".w\"","user":{"login":"nicklausw","id":6632849,"avatar_url":"https://avatars.githubusercontent.com/u/6632849?v=3","gravatar_id":"","url":"https://api.github.com/users/nicklausw","html_url":"https://github.com/nicklausw","followers_url":"https://api.github.com/users/nicklausw/followers","following_url":"https://api.github.com/users/nicklausw/following{/other_user}","gists_url":"https://api.github.com/users/nicklausw/gists{/gist_id}","starred_url":"https://api.github.com/users/nicklausw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicklausw/subscriptions","organizations_url":"https://api.github.com/users/nicklausw/orgs","repos_url":"https://api.github.com/users/nicklausw/repos","events_url":"https://api.github.com/users/nicklausw/events{/privacy}","received_events_url":"https://api.github.com/users/nicklausw/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/vhelin/wla-dx/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/vhelin/wla-dx/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2015-05-28T18:23:37Z","updated_at":"2016-02-18T15:00:48Z","closed_at":null,"body":"The way wla-6502 works, the assembler can't tell on its own whether or not certain instructions should be put in as with 8-bit or 16-bit arguments, and so takes a default of the smallest possible argument. This means that unless you end some instructions with \".w\", an error could come up saying something isn't an 8-bit value when the instruction can take 16-bit values.\r\n\r\nAn example:\r\nlda $2002\r\nwould make an error because WLA thinks it's supposed to be 8-bit.\r\n\r\nWhy is this how it works? Can't it be like other assemblers where it defaults which instruction to use based on the value of the arguments given?"},"comment":{"url":"https://api.github.com/repos/vhelin/wla-dx/issues/comments/185757291","html_url":"https://github.com/vhelin/wla-dx/issues/34#issuecomment-185757291","issue_url":"https://api.github.com/repos/vhelin/wla-dx/issues/34","id":185757291,"user":{"login":"nicklausw","id":6632849,"avatar_url":"https://avatars.githubusercontent.com/u/6632849?v=3","gravatar_id":"","url":"https://api.github.com/users/nicklausw","html_url":"https://github.com/nicklausw","followers_url":"https://api.github.com/users/nicklausw/followers","following_url":"https://api.github.com/users/nicklausw/following{/other_user}","gists_url":"https://api.github.com/users/nicklausw/gists{/gist_id}","starred_url":"https://api.github.com/users/nicklausw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicklausw/subscriptions","organizations_url":"https://api.github.com/users/nicklausw/orgs","repos_url":"https://api.github.com/users/nicklausw/repos","events_url":"https://api.github.com/users/nicklausw/events{/privacy}","received_events_url":"https://api.github.com/users/nicklausw/received_events","type":"User","site_admin":false},"created_at":"2016-02-18T15:00:48Z","updated_at":"2016-02-18T15:00:48Z","body":"Can someone point out to me where in the code pending computations are actually made for opcode arguments? I can't even find a mention of it."}}