historian3x Posted June 16, 2012 Share Posted June 16, 2012 I want to better understand CPU architectures, and learn to program at the same time. My goal would be to learn how the CPU manipulates data at the lowest level(I/O, computations, etc), and so I thought maybe learning how to program at lower levels(assembly, or directly on simple micro-controllers) would be a good way to understand. What is your opinion? What would you recommend? I figure someone in the CS field would have the best advice. Thanks Link to comment Share on other sites More sharing options...
immortal Posted June 16, 2012 Share Posted June 16, 2012 I love assembly language programming and Yes, I'd recommend you to learn assembly language programming to clearly understand CPU architectures like 8086/8085. Every architecture has its own instruction set and registers to deal with the data and its manipulation and its very useful for embedded systems. Link to comment Share on other sites More sharing options...
doG Posted June 16, 2012 Share Posted June 16, 2012 I personally started with machine code on a Z80 processor, first on my Heathkit H89 and then my Sinclair ZX80. Later on I moved to assembly on the Commodore series of computers. I can say it has helped me to understand higher level languages better than I might have. Link to comment Share on other sites More sharing options...
immortal Posted June 16, 2012 Share Posted June 16, 2012 You will clearly understand how data is manipulated at the lowest level. Link to comment Share on other sites More sharing options...
historian3x Posted June 18, 2012 Author Share Posted June 18, 2012 Thanks for your input. I was thinking of purchasing something like The Art of Assembly Language because it had great reviews , but then I seen people complaining how it uses HAL and isn't a "true" assembly language. So would something like Introduction to 80x86 Assembly Language and Computer Architecture be a better choice? Thank you again for your replies Link to comment Share on other sites More sharing options...
immortal Posted June 18, 2012 Share Posted June 18, 2012 Thanks for your input. I was thinking of purchasing something like The Art of Assembly Language because it had great reviews , but then I seen people complaining how it uses HAL and isn't a "true" assembly language. So would something like Introduction to 80x86 Assembly Language and Computer Architecture be a better choice? Thank you again for your replies I'd recommend Microprocessors and Interfacing: Programming and Hardware by Douglas V Hall. I studied from this book and was easy for me once I got hold of the instruction set and the registers. And also install MASM in your pc to do assembly language programming, only when you start writing programs you'll see the fun in it. Link to comment Share on other sites More sharing options...
historian3x Posted June 21, 2012 Author Share Posted June 21, 2012 (edited) Thank you, I'll buy that book and give it a try, thanks everyone for your time. Edited June 21, 2012 by historian3x Link to comment Share on other sites More sharing options...
ecoli Posted June 21, 2012 Share Posted June 21, 2012 Last semester, I opted out of a class on C and assembly to take a higher level machine learning course. I'm still not sure it was the right decision. But day to day, getting closer to machine code is not necessarily useful anymore Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now