hi all;
i read intro to assembler from hutch help file but i didn't get anything from this sentence "Registers are conceptually a special working area within the processor that are faster than memory operands and are designed to work with the processors opcodes.
" eveything else i got it but what is register?
thx
i read intro to assembler from hutch help file but i didn't get anything from this sentence "Registers are conceptually a special working area within the processor that are faster than memory operands and are designed to work with the processors opcodes.
" eveything else i got it but what is register?
thx
regesters are build into a cpu. you can use regesters instead of memory to do alot of different things and will speed up your programs and use less memory too. thomas has a tutorial that explains the uses of the registers. here is his site:
http://www.madwizard.org/view.php?page=tutorials.contents
ill let the guru's explain in more depth if they like. but i recommend reading his tutorials they are very good.
http://www.madwizard.org/view.php?page=tutorials.contents
ill let the guru's explain in more depth if they like. but i recommend reading his tutorials they are very good.
Simple answer:fast and expensive memory
It's like have a 8bit to 32 bit latch built on the same chuck of sand as the rest of the processor.
Also, some instructions work only with registers. DIV is a good example. After a divide, the quotient and remainder are ALWAYS in the register pairs AH/AL, AX/DX or EAX/EDX, depending on the divisor size.
:)
:)
A register is basically a specialised type of memory that is build directly inside the processor where the work done by the processor happens. External memory is a lot bigger but it is not as fast.
These memory locations are hard wired into the processor and are designed to work directly with internal instructions. Its something like having a table to work on but you store many more things outside somewhere. What you do on the table is done quickly but you cannot handle a lot of things at one time.
Regards,
hutch@movsd.com
These memory locations are hard wired into the processor and are designed to work directly with internal instructions. Its something like having a table to work on but you store many more things outside somewhere. What you do on the table is done quickly but you cannot handle a lot of things at one time.
Regards,
hutch@movsd.com