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 -

c++ - Qt setGeometry: Unable to set geometry -

batch file - How to extract all multi-volume RAR archives from subfolders of a folder? -