Have you read this book?

Go To Last Post
10 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Some Assembly Required: Assembly Language Programming with the AVR Microcontroller

Timothy S. Margush

http://www.crcpress.com/product/...

If you have read it, what did you think?

Was is up to date?

Was it presented in a pedagogically sound manner?

Were there lots of errors?

Were the examples practical and useful?

AVR Studio 4.19 build 730
Windows 7 x64
AVR Dragon HV 0x107 FV 0x610610

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

That link appears to be broken. Would suggest you have a look at the excellent tutorials on this site

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

For assembly see also www.avrbeginners.net

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

The link worked last night, not today...

He is a retired Prof. from the University of Akron. That is very close to me :).

Perhaps we can initiate an AVR Meet Up modeled after those Down Under!

I don't recognize him as a Freak, nor have there been posts from the U of A students here, that I know of. Perhaps he wrote the book, but didn't use AVR's in his classes.

JC

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

The link just worked for me..... Strange.

Here is an alternate link. I'm not a big fan of Amazon.

http://www.amazon.com/Some-Assem...

DocJC -

The "About the Author" section says that he passed away shortly after writing the book.

AVR Studio 4.19 build 730
Windows 7 x64
AVR Dragon HV 0x107 FV 0x610610

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Thanks for the responses guys! I've been all over this site. I've tried lots of examples on this site and around the net. Basically, I'm looking for a desk reference to keep my ADD in check. Plus, it looks like it has lots of theory related info that seems to be lacking on this site and the internet.

I just read almost the entire datasheet and AVR Studio manual last night and still don't understand exactly how the CPU works. I don't understand how the stack pointer works or exactly what the RAMEND stuff does - and they appear to be the best features of the AVR family. I'm assuming that I could do some cool stuff with arrays and subroutines if I knew how it worked. The whole PINxn function is a little bit confusing too but I'll probably understand it by the end of the day.

AVR Studio 4.19 build 730
Windows 7 x64
AVR Dragon HV 0x107 FV 0x610610

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Maybe this recent thread can help you to gain insight about stack operations.
https://www.avrfreaks.net/index.p...

Quote:
I don't understand how the stack pointer works or exactly what the RAMEND stuff does - and they appear to be the best features of the AVR family.

Any CPU (with SRAM) does have a similar stack.
AFAIK there is nothing special about AVR's in that respect.
You can also read about stack operations at www.avrbeginners.net as Cliff suggested.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

This has a good AVR assembly book that uses the Butterfly: Programming Microcontrollers using Assembly Language
http://www.zbaird.com/
Written by an AVR Freak and costs a lot less.

Smiley

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Lennart wrote:
Maybe this recent thread can help you to gain insight about stack operations.
https://www.avrfreaks.net/index.p...
Quote:
I don't understand how the stack pointer works or exactly what the RAMEND stuff does - and they appear to be the best features of the AVR family.

Any CPU (with SRAM) does have a similar stack.
AFAIK there is nothing special about AVR's in that respect.
You can also read about stack operations at www.avrbeginners.net as Cliff suggested.

Thanks for the link. I'm gonna read it now.

Still a noob, but have been studying PICSs and the hardware stack is outside of the MCU's normal memory map, so it's contents can't be altered. Also, you only get one or two Indirect file registers to play with.:(

AVR Studio 4.19 build 730
Windows 7 x64
AVR Dragon HV 0x107 FV 0x610610

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi Dave. I know you posted this a while ago butI recieved the book in question this morning, thru Amazon, by post. I have had my eye on this book as a guide to programming AVR ASM for some time. I finally got around to banking my collection of pennies with which I could afford it. I will let you know how the book reads!
Otherwise the http://www.avr-asm-download.de/beginner_en.pdf
Is a great read.