8051 assembly code to generate sine wave on November 08, 2012 Get link Facebook X Pinterest Email Other Apps ORG 0000H CLR A UP : MOV DPTR,#SINE MOV R0,#24 LABEL: MOVC A,@A+DPTR MOV P2,A CLR A INC DPTR DJNZ R0,LABEL SJMP UP ORG 050H SINE : DB 127,160,191,217,237,250,255,250,237,217,191,160,127,94,63,37,17,4,0,4,17,37,63,94,127 END Comments SiddheshApril 23, 2019 at 3:51 AMWhy 24 is moved in R0ReplyDeleteRepliesसुजीत वाघAugust 29, 2019 at 10:34 AMas look up table consist of 24 values DeleteRepliesReplyReplyUnknownApril 15, 2020 at 8:07 AMHow to change grid sizeReplyDeleteRepliesReplyUnknownSeptember 6, 2020 at 9:54 PMWhy in my simulator it is showing "Syntax Error - DB"ReplyDeleteRepliesC-TECHMarch 14, 2021 at 11:05 PMWrite like this Sine: db(the values.....)DeleteRepliesReplyReplyUnknownOctober 7, 2020 at 12:39 AMHow to get the values of lookup table if we want 40 or more values?Any idea please help.ReplyDeleteRepliesReplyUnknownNovember 9, 2020 at 8:09 PMAlgorithm for this programReplyDeleteRepliesReplyAdd commentLoad more... Post a Comment
Why 24 is moved in R0
ReplyDeleteas look up table consist of 24 values
DeleteHow to change grid size
ReplyDeleteWhy in my simulator it is showing "Syntax Error - DB"
ReplyDeleteWrite like this
DeleteSine: db(the values.....)
How to get the values of lookup table if we want 40 or more values?
ReplyDeleteAny idea please help.
Algorithm for this program
ReplyDelete