LC3 Multiplication -


so have lc3 coding assignment have implement , test user subroutines input , output of unsigned integers in decimal format. our input have sequence of keystrokes construct single integer value applying repeated multiplication algorithm, multiplication 10 via 4 additions. not understanding concept of multiplication 4 additions. please explain?

x number want multiply 10

a = x+x = 2x b = a+a = 4x c = b+b = 8x d = a+c = 10x 

Comments

Popular posts from this blog

android - questions about switching from C2DM to GCM -

rewrite asp to php based on asp query -

visual studio 2010 - Error on RDLC Expression -