Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.sys.acorn.programmer > #2065
| From | Martin Bazley <martin.bazley@blueyonder.co.uk> |
|---|---|
| Newsgroups | comp.sys.acorn.programmer |
| Subject | Re: Unsigned integer comparison in Basic V |
| Message-ID | <c30eb3bd52.martin@blueyonder.co.uk> (permalink) |
| References | <9d64a2bc52.news@user.minijem.plus.com> <2e75c2bc52.martin@blueyonder.co.uk> <32103cbc-f143-4d45-8204-3f0de6ee1616@googlegroups.com> |
| Organization | virginmedia.com |
| Date | 2012-08-11 19:44 +0100 |
The following bytes were arranged on 10 Aug 2012 by jgh@arcade.demon.co.uk: > Martin Bazley wrote: > > By the way, if you want to compare two numbers of more than 32 bits each > > (such as, say, 40-bit datestamps), you could try the following > > (completely untested!) extension: > > As they're 40-bit they're going to be in memory anyway, so just > deal with them in memory (untested): Not necessarily; the usual case is reading load and exec addresses via OS_File, where the datestamp is returned in two separate registers (one of which also contains the filetype). From a purely academic viewpoint it's faster not to have to save them to memory and then load them back again, although since the OP is using BASIC I don't suppose he's too worried about that. -- __<^>__ "Did you know that polar bears stay white all year round? ...The / _ _ \ white colour makes them less visible to the seals and penguins ( ( |_| ) ) they hunt." - Nelson Thornes AQA-endorsed GCSE science textbook \_> <_/ ======================= Martin Bazley ==========================
Back to comp.sys.acorn.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Unsigned integer comparison in Basic V Richard Porter <dontusethis@address.uk.invalid> - 2012-08-09 18:06 +0100
Re: Unsigned integer comparison in Basic V Martin Bazley <martin.bazley@blueyonder.co.uk> - 2012-08-09 23:56 +0100
Re: Unsigned integer comparison in Basic V Richard Porter <dontusethis@address.uk.invalid> - 2012-08-10 12:12 +0100
Re: Unsigned integer comparison in Basic V "Ste (news)" <steve@revi11.plus.com> - 2012-08-10 14:10 +0100
Re: Unsigned integer comparison in Basic V Jeremy Nicoll - news posts <jn.nntp.scrap007@wingsandbeaks.org.uk> - 2012-08-10 14:58 +0100
Re: Unsigned integer comparison in Basic V "Ste (news)" <steve@revi11.plus.com> - 2012-08-13 16:14 +0100
Re: Unsigned integer comparison in Basic V Steve Drain <steve@kappa.me.uk> - 2012-08-10 16:11 +0100
Re: Unsigned integer comparison in?Basic V Justin Fletcher <gerph@gerph.org> - 2012-08-10 15:25 +0100
Re: Unsigned integer comparison in Basic V jgh@arcade.demon.co.uk - 2012-08-10 15:49 -0700
Re: Unsigned integer comparison in Basic V Martin Bazley <martin.bazley@blueyonder.co.uk> - 2012-08-11 19:44 +0100
Re: Unsigned integer comparison in Basic V Richard Porter <dontusethis@address.uk.invalid> - 2012-08-13 16:19 +0100
csiph-web