Click Here
home features news forums classifieds faqs links search
6155 members 
Amiga Q&A /  Free for All /  Emulation /  Gaming / (Latest Posts)
Login

Nickname

Password

Lost Password?

Don't have an account yet?
Register now!

Support Amigaworld.net
Your support is needed and is appreciated as Amigaworld.net is primarily dependent upon the support of its users.
Donate

Menu
Main sections
» Home
» Features
» News
» Forums
» Classifieds
» Links
» Downloads
Extras
» OS4 Zone
» IRC Network
» AmigaWorld Radio
» Newsfeed
» Top Members
» Amiga Dealers
Information
» About Us
» FAQs
» Advertise
» Polls
» Terms of Service
» Search

IRC Channel
Server: irc.amigaworld.net
Ports: 1024,5555, 6665-6669
SSL port: 6697
Channel: #Amigaworld
Channel Policy and Guidelines

Who's Online
22 crawler(s) on-line.
 95 guest(s) on-line.
 0 member(s) on-line.



You are an anonymous user.
Register Now!

/  Forum Index
   /  Amiga Development
      /  First tutorial on ASM- and HW-coding
Register To Post

Goto page ( Previous Page 1 | 2 )
PosterThread
olegil 
Re: First tutorial on ASM- and HW-coding
Posted on 15-Mar-2013 10:17:05
#21 ]
Elite Member
Joined: 22-Aug-2003
Posts: 5900
From: Work

@matthey

Yeah, assembly is getting harder and harder.

But what people forget is that there's a whole world of different optimizations between precalculated sine/cosine tables and assembly code on one side and writing (int)(128.0 * sin(pi*x/256.0) on the other. You can use precalculated sine/cosine tables and other tricks in C as well, it's just that for most things you don't need to.

So assembly _tricks_ are still useful to know, and learning PPC assembly is good because then you can read the output of gcc -S (generates assembly-code instead of machine code) or objdump -D (disassembly from the machine code binary). If you can read the assembly, you can identify potential optimizations, and if you can do m68k assembly you can certainly write optimized C.

_________________
This weeks pet peeve:
Using "voltage" instead of "potential", which leads to inventing new words like "amperage" instead of "current" (I, measured in A) or possible "charge" (amperehours, Ah or Coulomb, C). Sometimes I don't even know what people mean.

 Status: Offline
Profile     Report this post  
Phantom 
Re: First tutorial on ASM- and HW-coding
Posted on 15-Mar-2013 16:31:54
#22 ]
Elite Member
Joined: 2-Aug-2007
Posts: 2047
From: Unknown

@Vikke

Simply great. Only 68k Assembly stuff! Already bookmarked, congratulations.

_________________

 Status: Offline
Profile     Report this post  
Goto page ( Previous Page 1 | 2 )

[ home ][ about us ][ privacy ] [ forums ][ classifieds ] [ links ][ news archive ] [ link to us ][ user account ]
Copyright (C) 2000 - 2019 Amigaworld.net.
Amigaworld.net was originally founded by David Doyle