What "type" of variables? Characters are easy - well, the only thing we *can* print. Integers require some processing. Floats require a *lot* of processing!
From whence do you need to read these variables? Keyboard/stdin? A file? Command line? Other?
What OS is this supposed to run on? Makes a big difference how we read/write this stuff! (any "processing" we need is probably OS-independent)
This appears to be homework. We're probably not going to do your homework for you. We *will* help. (helping someone learn asm, and helping someone *avoid* learning asm are two different things!). But we need to know "where you're at" right now. What parts *can* you do? What "chapter" are you on? (almost the end of the term, innit?) What "resources" do you have available in the way of macros/libraries?
Show us what you've got so far. Writing the comments first may help!!! Probably do *one* variable first... That should tell us what OS, and maybe where you expect to "read" this variable from... maybe even what "type" you're expecting. We really need more information before we can begin to help...
Best,
Frank