Author Topic: learning to write codes  (Read 2021 times)

Offline drummerdude

  • BST BAN
  • ♥ Poker Champ ♠♣
  • *
  • Posts: 237
  • Post quality +11/-5
  • Gender: Male
  • Acidmods User
learning to write codes
« on: March 27, 2011, 11:48:04 AM »
So i want to learn how to write asm for rapid fire. I've looked over a lot of the stuff at gooligum and it has helped my understanding a lot, but i dont know where to go from there. Any ideas? I know i should look at the data sheet but the length of the data sheet is just so bombarding and intimidating.

"I'm not a very tall person, however I show self-confidence of a bigger person"

Offline hyper999

  • Acidmods Alumni
  • Millennium Poster
  • *
  • Posts: 1158
  • Post quality +544/-3
  • Research and Development
Re: learning to write codes
« Reply #1 on: March 27, 2011, 12:14:06 PM »
Try looking at other peoples work, a good place to start is HERE check out reply #6.

i found the best way to learn was to set myself tasks and projects to apply and test what i have learnt.


Offline drummerdude

  • BST BAN
  • ♥ Poker Champ ♠♣
  • *
  • Posts: 237
  • Post quality +11/-5
  • Gender: Male
  • Acidmods User
Re: learning to write codes
« Reply #2 on: March 27, 2011, 12:32:06 PM »
yeah. Ive been looking over bmu a lot and tryin to understand it. I guess i should just read as much as i can. What information does the data sheet have in it?

"I'm not a very tall person, however I show self-confidence of a bigger person"

Offline drummerdude

  • BST BAN
  • ♥ Poker Champ ♠♣
  • *
  • Posts: 237
  • Post quality +11/-5
  • Gender: Male
  • Acidmods User
Re: learning to write codes
« Reply #3 on: March 27, 2011, 12:35:09 PM »
some of the codes on this website, are they written from scratch, or are they just edited versions of like bmu3

"I'm not a very tall person, however I show self-confidence of a bigger person"

Offline hyper999

  • Acidmods Alumni
  • Millennium Poster
  • *
  • Posts: 1158
  • Post quality +544/-3
  • Research and Development
Re: learning to write codes
« Reply #4 on: March 27, 2011, 12:40:50 PM »
the data sheet has everything you could ever need to know about the respective PIC.

and i dont know, but i think the large majority of codes posted on this site are modifications of BMU.

Offline Hazer

  • x4675636B4E7574
  • Acidmods Alumni
  • Acid Modder
  • *
  • Posts: 583
  • Post quality +59/-0
Re: learning to write codes
« Reply #5 on: March 27, 2011, 08:47:34 PM »
Start reading the datasheet. It is actually organized in a manner such that you learn the basic parts of the chip first, and it goes into detail about the 'extras' later (with the exception of the instructions).

You first need to learn the memory organization.
Then read about how the memory, CPU, and the data bus work.
Then read about the Ports.
Then read the instruction set.

After that much, you have enough understanding to do simple projects/codes.

After understanding those basics, you can then move into:

Interupts
ADC
USART
TIMERS
Comparators

[Quote from Gamermodz via Viking forums]
Don't be jealous your not half as smart. I hate ****tards like you. An ignorant redneck. Your nothing but a posing ******. Get the **** out of here, really, your claim to fame is an open source rapid fire code? You make me laugh. You think you have control over the modding market?  You couldn't create what I can and do. You are too ignorant with your outrageous assumptions and accusations. [/Quote]

 

SMF spam blocked by CleanTalk
SimplePortal 2.3.5 © 2008-2012, SimplePortal