
|
84782 packages online
|
|
 |
|
dev/src/MorphOS_PPC_HelloWorld.lha |
|
No screenshot available
|
|
The HelloWorld.s source file in this archive can be used as a stand-alone
MorphOS PPC assembly example but is intended as a companion file for the
morphzone.org programming tutorial found here -
http://library.morphzone.org/An_Introduction_to_MorphOS_PPC_Assembly
Please note that HelloWorld.s is also intended as a reference document for
beginner PPC assembly programmers and is therefore heavily commented. Most
comment lines are much longer than the traditional 80 character width of many
source files and may be difficult to read on small displays.
HelloWorld-libamiga.s has been modified so that linking with the vbcc
libamiga.a file is needed to produce an executable.
HelloWorld_optimised.s uses a simple technique to reduce program size and the
amount of reads and writes to memory compared to the other two versions.
The text formatting of these source files is suited for an editor or viewer
that properly supports tabs and assumes a tab size of 8.
v1.02 Update: The previous method of defining the __abox__ symbol was wrong.
v1.03 Update: Aside from the addition of HelloWorld_optimised.s there is also
a sneaky preview of a MorphOS assembly debugger. On many levels
MAD is a crude program and can only be considered as an alpha
release. I would very much like to get some user feedback.
|
Contents of dev/src/MorphOS_PPC_HelloWorld.lha
PERMSSN UID GID PACKED SIZE RATIO METHOD CRC STAMP NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic] 8563 23464 36.5% -lh5- 6a71 Mar 18 14:39 MAD_v0.4d
[generic] 787 1605 49.0% -lh5- ce5c Mar 18 14:41 MAD_readme
[generic] 2321 5728 40.5% -lh5- 50f5 Mar 18 14:38 HelloWorld.s
[generic] 2231 5490 40.6% -lh5- 3eca Mar 18 14:38 HelloWorld_libamiga.s
[generic] 2515 6176 40.7% -lh5- 5816 Mar 18 14:38 HelloWorld_optimised.s
[generic] 836 1614 51.8% -lh5- 58a9 Mar 18 14:47 MorphOS_PPC_HelloWorld.readme
---------- ----------- ------- ------- ------ ---------- ------------ -------------
Total 6 files 17253 44077 39.1% Mar 18 20:52
|
|
|
 |
Page generated in 0.03 seconds |
Aminet © 1992-2024 Urban
Müller and the Aminet team.
Aminet contact address: <aminet aminet net> |