Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.raspberry-pi > #12593

Re: Sample ARM assember code?

From alister <alister.ware@ntlworld.com>
Subject Re: Sample ARM assember code?
Newsgroups comp.sys.raspberry-pi
References <nlimbu$7l3$1@dont-email.me> <nlio0p$cp7$1@dont-email.me> <nlir9r$o1m$1@dont-email.me> <%Q6fz.16583$CF.13730@fx41.am4>
Message-ID <H47fz.11038$EG.7230@fx45.am4> (permalink)
Organization virginmedia.com
Date 2016-07-06 12:46 +0000

Show all headers | View raw


On Wed, 06 Jul 2016 12:29:47 +0000, alister wrote:

> On Wed, 06 Jul 2016 12:50:08 +0100, gareth G4SDW GQRP #3339 wrote:
> 
>> "Tauno Voipio" <tauno.voipio@notused.fi.invalid> wrote in message
>> news:nlio0p$cp7$1@dont-email.me...
>>> On 6.7.16 13:25, gareth G4SDW GQRP #3339 wrote:
>>>> Are there listings anywhere of sample ARM assembler code covering all
>>>> the standard C library such as strcpy, etc?
>>> Get the newlib sources (Google for it).
>>>
>>> Prepare to be disappointed: Most of the libraries are written in C.
>>>
>>> If you absolutely insist on assembly code, you can translate the
>>> sources with assembly listings, adding '-Wa,ahlms=file.lst'
>>> to the GCC command line. Substitute the source name for 'file' above.
>> 
>> I'm not used to a register machine with only load and store for memory
>> access and just wanted to crib some techniques
> 
> Really I though you were an expert at low level programming
> 
> Are you saying that the ARM does not have any index registers? I find
> that hard to believe

oh no any register can be used as an index

what are you actually finding to be difficult?


-- 
The father, passing through his son's college town late one evening on a
business trip, thought he would pay his boy a suprise visit.  Arriving at 
the
lad's fraternity house, dad rapped loudly on the door.  After several 
minutes
of knocking, a sleepy voice drifted down from a second-floor window,
	"Whaddaya want?"
	"Does Ramsey Duncan live here?" asked the father.
	"Yeah," replied the voice.  "Dump him on the front porch."

Back to comp.sys.raspberry-pi | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Sample ARM assember code? "gareth G4SDW GQRP #3339" <no.spam@thank.you.invalid> - 2016-07-06 11:25 +0100
  Re: Sample ARM assember code? Tauno Voipio <tauno.voipio@notused.fi.invalid> - 2016-07-06 13:54 +0300
    Re: Sample ARM assember code? "gareth G4SDW GQRP #3339" <no.spam@thank.you.invalid> - 2016-07-06 12:50 +0100
      Re: Sample ARM assember code? alister <alister.ware@ntlworld.com> - 2016-07-06 12:29 +0000
        Re: Sample ARM assember code? alister <alister.ware@ntlworld.com> - 2016-07-06 12:46 +0000
          Re: Sample ARM assember code? "Kerr Mudd-John" <admin@127.0.0.1> - 2016-07-06 14:15 +0100
        Re: Sample ARM assember code? Dennis <dennis@none.none> - 2016-07-06 10:08 -0500
      Re: Sample ARM assember code? jeffj@panix.com (Jeff Jonas) - 2016-07-06 08:39 -0400
        Re: Sample ARM assember code? Big Bad Bob <BigBadBob-at-mrp3-dot-com@testing.local> - 2016-10-13 01:17 -0700
          Re: Sample ARM assember code? Michael J. Mahon <mjmahon@aol.com> - 2016-10-13 11:48 -0500
            Re: Sample ARM assember code? jeffj@panix.com (Jeff Jonas) - 2016-11-24 02:19 -0500
          Re: Sample ARM assember code? jeffj@panix.com (Jeff Jonas) - 2016-11-24 01:56 -0500
            Re: Sample ARM assember code? Robert Riches <spamtrap42@jacob21819.net> - 2016-11-25 03:36 +0000
              Re: Sample ARM assember code? Michael J. Mahon <mjmahon@aol.com> - 2016-11-24 23:31 -0600
                Re: Sample ARM assember code? alister <alister.ware@ntlworld.com> - 2016-11-25 12:42 +0000
                Re: Sample ARM assember code? The Natural Philosopher <tnp@invalid.invalid> - 2016-11-25 13:14 +0000
                Re: Sample ARM assember code? Robert Riches <spamtrap42@jacob21819.net> - 2016-11-26 01:05 +0000
                Re: Sample ARM assember code? The Natural Philosopher <tnp@invalid.invalid> - 2016-11-26 11:28 +0000
                Re: Sample ARM assember code? Robert Riches <spamtrap42@jacob21819.net> - 2016-11-27 03:32 +0000
                Re: Sample ARM assember code? The Natural Philosopher <tnp@invalid.invalid> - 2016-11-27 12:01 +0000
                Re: Sample ARM assember code? Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2016-11-27 09:28 -0500
              Re: Sample ARM assember code? mm0fmf <none@invalid.com> - 2016-11-25 18:06 +0000
  Re: Sample ARM assember code? glavallin <glavallin@gjlavallin.plus.com> - 2016-10-27 10:07 +0100
    Re: Sample ARM assember code? glavallin <glavallin@gjlavallin.plus.com> - 2016-10-27 10:39 +0100
    Re: Sample ARM assember code? Tauno Voipio <tauno.voipio@notused.fi.invalid> - 2016-10-27 12:30 +0300

csiph-web