[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Found a minor bug in Merlin-8 v2.58
- Subject: Re: Found a minor bug in Merlin-8 v2.58
- From: gids.rs@sasktel.net
- Date: Sun, 3 Mar 2013 11:52:30 -0800 (PST)
- Complaints-to: groups-abuse@google.com
- In-reply-to: <2013030219093742255-wssimms@gmailcom>
- Injection-date: Sun, 03 Mar 2013 19:52:30 +0000
- Injection-info: glegroupsg2000goo.googlegroups.com; posting-host=142.165.85.70; posting-account=U4TNXwoAAABP4nIJHynAJZ69O_f3LY2g
- Newsgroups: comp.sys.apple2
- References: <2013030219093742255-wssimms@gmailcom>
- User-agent: G2/1.0
On Saturday, March 2, 2013 6:09:37 PM UTC-6, Sheldon Simms wrote:
> I ran across this last night. It doesn't really matter, because the
>
> assembler bug is induced by a bug in the source program (failure to use
> immediate addressing).
> Look at the symbol table addresses generated in comparison with the
>
> true addresses of the labels:
> 8000: A4 03 1 ldy endmsg-msg ;should be immediate
> 8002: 60 2 loop rts
> 8003: C8 E8 A1 3 msg asc "Hi!"
> 4 endmsg
> --End assembly, 6 bytes, Errors: 0
> Symbol table - alphabetical order:
> endmsg =$8007 ? loop =$8003 msg =$8004
Try putting a # sign in front of the calculation as in LDY #endmsg-msg
Rob