This bit will be difficult; these operations are OS-specific. So you will need (a) a toolkit that provides platform-independent access to these...
The posted code (by the OP) doesn't work because you're shifting the wrong way. If you shift 00000001 right by any number of bits this will...
%c prints characters. Hex values are done with %x.
Please do not hijack other peoples threads with irrelevant discussions; it's free to start your own thread and you won't get grumbled at that way....
http://graphics.stanford.edu/~seander/bithacks.html#BitReverseObvious Starts with the "obvious" way to do it, then follows up with some more...
Please use code blocks when posting code. The formatting is preserved, making it easier to read. What is going wrong? I can't see your screen...
Yes it is.
Well you've only posted half the code, and you haven't posted the input file. Don't post the whole lot though: cut it down to the minimum needed...
To be honest though I think a *better* use of your time would be to (a) think up some variations on the exercises you've already been given; (b)...
Anyway I guess what you really wanted was some useful help. > 1. Why when it is printed i get rubbish? When what is printed? What option did...
Then I suggest you focus on where you're at, rather than trying to rush ahead. Maybe a future lesson will teach you what you need to know in...
Well one of us doesn't understand something. The modification I made to the code would result in the value 0xff being sent as 0xff and not as...
But even if you change = to == that block doesn't make sense. Assign 1 to check. If check is 1 (which it will be, cos you've just assigned 1 to...
You need to get into the habit of indenting your code correctly. This makes the problem obvious (you're only checking the first character in the...
Because your initial assumptions are wrong: This may be the *general* rule but it doesn't apply to all instructions. A quick google found...
What is your makefile called, and what command do you type to invoke the makefile? Could you post the makefile again, this time using code tags...
This is what en_7123 is referring to: This is way too generic, and by themselves those questions (a) don't make much sense, and (b) the sense...
Did the assembler just print "errors" or did it say something more helpful?
We can't guess what you can't understand. Read the article, try to implement it then ask specific questions when you're stuck. For starters, do...
const defines a variable which goes into the compiler's symbol table with all other variables. #define is just a lexicographical thing sorted out...
Separate names with a comma.