Welcome, Guest. Please login or register.

Author Topic: Hello my first Thread  (Read 6254 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16867
  • Country: gb
  • Thanked: 4 times
    • Show only replies by Karlos
Re: Hello my first Thread
« Reply #74 from previous page: December 07, 2010, 06:40:53 PM »
Quote from: kickstart;597612
Sorry but offense for this sentence its so stupid.


Considering someone was given a temporary ban for basically using the word "zionist", explain why I shouldn't take an equal measure off offence at people banding around expressions like "islamic extremist"?

Besides, I've yet to meet another muslim anywhere that's as loony and extreme as your average amiga user ;)
int p; // A
 

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16867
  • Country: gb
  • Thanked: 4 times
    • Show only replies by Karlos
Re: Hello my first Thread
« Reply #75 on: December 07, 2010, 06:50:39 PM »
Quote from: Franko;597614
Cheers Karlos

Found VAsm here and downloaded it, need to start studying PPC opcodes now...:)



Most obvious differences from 68k assembly are:

1) It's a load/store architecture. None of the basic arithmetic/logic operations work on effective address operands like they can on 68K. One reason why you have so many registers ;)

2) Not as many effective addressing modes (for load/store), but all the obvious ones are more or less covered (indirect, indirect with displacement, indirect with increment/decrement).

3) Triple operand instructions. Well, most of them are of the form A @ B -> C, where any of A, B and C can be the same register. Some instructions take even more operands.

4) Bit positions are enumerated the opposite way round for bitwise/bitfield type operations. Thus Bit 0 is the MSB, rather than the LSB.

5) There are useful bitwise operations (such as masked rotate and masked shift, fused floating point multiply-add) that exist as single instructions on ppc that are good for improving performance of certain algorithms.

6) Optional CC update. Basically, most logic/arithmetic instructions have a notation that allows you to decide whether or not you want the side effects of that instruction to be written to the condition codes. This is especially useful once you start to optimise your code by reordering instructions and you don't want to destroy condition codes that you need to test later.
int p; // A
 

Offline Franko

  • Hero Member
  • *****
  • Join Date: Jun 2010
  • Posts: 5707
    • Show only replies by Franko
Re: Hello my first Thread
« Reply #76 on: December 07, 2010, 06:51:08 PM »
Quote from: Karlos;597615
Besides, I've yet to meet another muslim anywhere that's as loony and extreme as your average amiga user ;)


Amiga extremist young fundamentalist mad mental team rulz ok... ;)
 

Offline kickstart

  • Hero Member
  • *****
  • Join Date: Aug 2006
  • Posts: 1057
    • Show only replies by kickstart
Re: Hello my first Thread
« Reply #77 on: December 07, 2010, 06:52:34 PM »
This isnt a religion thread and its better dont talk of religion with religious people, i dont care about any religion, so its only a sentence at this case but feel free to give me a temporal ban.
a1200 060
 

Offline Franko

  • Hero Member
  • *****
  • Join Date: Jun 2010
  • Posts: 5707
    • Show only replies by Franko
Re: Hello my first Thread
« Reply #78 on: December 07, 2010, 06:55:11 PM »
Quote from: Karlos;597617
Most obvious differences from 68k assembly are:.


Should help pass some of these long winter nights though... :)

(They finally dug our street out after 10 days of being snowed in, been no post or bins emptied here for over a week now... :) )
 

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16867
  • Country: gb
  • Thanked: 4 times
    • Show only replies by Karlos
Re: Hello my first Thread
« Reply #79 on: December 07, 2010, 06:55:55 PM »
Quote from: kickstart;597619
This isnt a religion thread...

Neither was the other one... meh.

Quote
... so its only a sentence at this case but feel free to give me a temporal ban.

:roflmao:

Ok, I hereby ban you from time travel/manipulation for 3 days.
« Last Edit: December 07, 2010, 06:58:22 PM by Karlos »
int p; // A
 

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16867
  • Country: gb
  • Thanked: 4 times
    • Show only replies by Karlos
Re: Hello my first Thread
« Reply #80 on: December 07, 2010, 06:57:07 PM »
Quote from: Franko;597621
Should help pass some of these long winter nights though... :)


Oh, don't forget that you can also do some load and store with endian conversion on the fly if necessary.
int p; // A
 

Offline Fats

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 672
    • Show only replies by Fats
Re: Hello my first Thread
« Reply #81 on: December 07, 2010, 08:57:22 PM »
Quote from: Franko;597583

I wouldn't want to write using C as I prefer coding in assembly, you wouldn't happen to know of an assembly compiler for writing in PPC would you... :)


Maybe you could have a look at ECX. It is a follow up of the AmigaE with support for PPC. It has support for inline PPC and M68K asm so everything but the function headers could be in asm.
You may even like the language as it is kind of asm like language (mostly not typechecked) with a nice syntax that even allows object oriented programming but still with a low level feel.

greets,
Staf.
Trust me...                                              I know what I\'m doing
 

Offline Franko

  • Hero Member
  • *****
  • Join Date: Jun 2010
  • Posts: 5707
    • Show only replies by Franko
Re: Hello my first Thread
« Reply #82 on: December 07, 2010, 09:05:31 PM »
Cheers for that info Fats... :)

I'll have a look into this "E" stuff on the link you gave. It's going to take a while to learn all the PPC stuff so I'd rather stick with coding in assembler for now if I can as I reckon trying to learn both "E" and PPC at the same time may be pushing things a wee bit... :)