marsegghead Member M Join Date Nov 2005 Location California Posts 3 Jan 30, 2006 #1 Looking to add bcd numbers need examples.
SimonGoldsworthy Member Join Date Mar 2005 Location England Posts 1,078 Jan 30, 2006 #2 There is normally a BCD to Decimal and vice versa conversion instruction, so convert to decimal, do the addition and then convert back.
There is normally a BCD to Decimal and vice versa conversion instruction, so convert to decimal, do the addition and then convert back.
marsegghead Member OP M Join Date Nov 2005 Location California Posts 3 Jan 30, 2006 #3 Can you tell me the instruction.
Tmu Member Join Date Jan 2005 Location Järvenpää, Finland Posts 73 Jan 30, 2006 #4 2*4bit(k2) starting x0 BCD to binary (decimal) to D0 => BIN k2x0 D0 binary value D1 to BCD 2*4bit(k2) starting y0=> BCD D1 k2y0
2*4bit(k2) starting x0 BCD to binary (decimal) to D0 => BIN k2x0 D0 binary value D1 to BCD 2*4bit(k2) starting y0=> BCD D1 k2y0