From the course: Advanced C Programming: Integrating C and Assembly Language

Unlock this course with a free trial

Join today to access over 22,600 courses taught by industry experts.

Challenge: Build an assembly program

Challenge: Build an assembly program

- [Instructor] Your challenge is to construct an assembly program that prompts for your age and then outputs your age in 10 years. It sounds simple and for any other programming language, it would be, but doing things in assembly can be difficult. To help you feel free to cannibalize any of the exercise files presented so far in this course. Two are available in this movie's exercise folder for your reference. Most of the functions in the example exercise files are module documented own way that you should be able to Frankenstein them together to solve the challenge. Prompt for input, ask for the user's age, gather the input, reading standard input and storing the string. Modify the input, converting the string into binary, and then adding 10 to that value. Output the modified value and inform the user of how much older they'll be in 10 years. However you complete the task to either start from scratch or to copy and paste…

Contents