Re: A83: Re: First program


[Prev][Next][Index][Thread]

Re: A83: Re: First program




Here is the BASIC Code of the program I'm trying to convert:

Repeat D>=1 and D<360
ClrHome
Input "COMPASS DEG:",D
End
If D÷90
Then
abs(D-90)->E
Else
abs(D-450)->E
End
Output(3,1,"ENG DEG:")
Output(3,10,E)
Disp

Here's the readme for this program, basically it converts compass degree readings to engineering degree readings.
http://www.ticalc.org/cgi-bin/zipview?83/basic/programs/compass.zip;Readme.txt

Thanks

Andrew


Kouri wrote:

> First of all, what are you trying to do in this program?
> Try writing it as a basic program and post that to the list. Then I could tell you how to do it in asm.
>
> ----- Original Message -----
> From: "Andrew Oliver" <aoliver@techplus.com>
> To: <assembly-83@lists.ticalc.org>
> Sent: Monday, February 07, 2000 20:13
> Subject: Re: A83: Re: First program
>
> Could someone please explain how this not being able to use 16-bit registers in instructions that use an 8-bit register
> thing works.  How do I load my number that was inputted from OP1 to a for my other ops?
> Also are my < > opperand correct if I use a inc    b instead of the +1 thing?
>
> Thanks
> Andrew
> <snip>



Follow-Ups: References: