WinAVR

Jan 02, 2005 1 Replies

Hello, All!



çÏÓÐÏÄÁ, ÐÏÄÓËÁÖÉÔÅ ÐÏÖÁÌÕÊÓÔÁ ËÁË ÂÕÄÅÔ ×ÙÇÌÑÄÅÔØ × gas ÓÌÅÄÕÀÝÁÑ ËÏÎÓÔÒÕËÃÉÑ ÉÚ AVRasm: ldi ZH, high(sine_table*2) ldi ZL, low(sine_table*2)

HÁ ldi ZH, hi8(sine_table*2) ldi ZL, lo8(sine_table*2) ÉÄÅÔ ÒÕÇÁÎØ:



=== Cut ===



400Hz.asm:49: Error: invalid sections for operation on `sine_table' and `L0'
400Hz.asm:50: Error: invalid sections for operation on `sine_table' and `L0' ^^^ ÞÔÏ ÜÔÏ? === Cut ===

sine_table ÜÔÏ ÍÅÔËÁ:



sine_table: .byte .....



ëÏÎÔÒÏÌÌÅÒ - attiny15.

Best regards É ×ÓÅ ÔÁËÏÅ... Sergey. [Death/Black/Power Metal]


ðÒÉ×ÅÔ Sergey!

02 Jan 05 17:18, Sergey Shopin ÐÉÓÁÌ All:

SS> çÏÓÐÏÄÁ, ÐÏÄÓËÁÖÉÔÅ ÐÏÖÁÌÕÊÓÔÁ ËÁË ÂÕÄÅÔ ×ÙÇÌÑÄÅÔØ × gas ÓÌÅÄÕÀÝÁÑ SS> ËÏÎÓÔÒÕËÃÉÑ ÉÚ AVRasm: SS> ldi ZH, high(sine_table*2) SS> ldi ZL, low(sine_table*2)

ldi zh, hi8(pm(sine_table)) ldi zl, lo8(pm(sine_table))

÷ÓÅÇÏ ÎÁÉÌÕÞÛÅÇÏ, [Team PCAD 2000] áÌÅËÓÅÊ í. ... þÕÄÏ-ÊÏÇÕÒÔ âÉÏ. þÅÍÐÉÏÎ ÓÒÅÄÉ ËÁËÁÏ.

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required