i know what registers are, i know a lot of things about registers.
but my problem is:

a register is able to store data/instructions.
like a 16 bit register can store 16 bit instruction/data
BUT HOW MUCH DATA/INSTRUCTIONS CAN IT STORE AT THE SAME TIME?

like an accumulator is used for arithmetic functions, and suppose a 16 bit operand can be stored in it, then can it store just 1 operand or more. Same about other registers.

PLEASE HELP........

Recommended Answers

All 2 Replies

The maximum value of register ax (and other similar 16-bit registers) is 255. Any register can be treated as either signed or unsigned. So 255 is the maximum of unsigned while 126 is the maximum signed.

Registers do not contain instructions -- only data. mov, jmp, cmp, etc are instructions.

Typo correction: a 16-bit register may contain data in the range of 0..65535; 255 is a maximal value of an 8-bit register.

commented: right +35
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.