Skip to main content
Amr Elkamash's user avatar
Amr Elkamash's user avatar
Amr Elkamash's user avatar
Amr Elkamash
  • Member for 1 year, 6 months
  • Last seen more than a week ago
comment
Why do AVR microprocessors have two ways (paths) to access I/O ports?
This looks pretty clear now that if my port pointer in c code is holding a constant address(points to one register along the code) it's most likely that the compiler will choose out/in over lds/sts - that also uses immediate address but bigger than the one out/in uses - that needs less cycles and space than sts/lds , but if I make this pointer points to more than one register along the code the compiler will choose to use st/ld with an indirect address which also takes more space and cycles but it's probably the only way to compile that code.. I think that's what you mean here right?
revised
Loading…
revised
Loading…
revised
Loading…
Loading…
awarded
awarded
Loading…
awarded
accepted
revised
VCCS in series with a voltage source
deleted 1 character in body
Loading…
revised
VCCS in series with a voltage source
added 25 characters in body
Loading…
revised
VCCS in series with a voltage source
added 66 characters in body
Loading…
revised
VCCS in series with a voltage source
added 91 characters in body
Loading…
revised
VCCS in series with a voltage source
added 8 characters in body
Loading…
revised
VCCS in series with a voltage source
added 114 characters in body
Loading…
revised
VCCS in series with a voltage source
added 15 characters in body
Loading…
revised
VCCS in series with a voltage source
deleted 17 characters in body
Loading…