could any one tell me is ax bx 8 or 16 bits cuz i am gettin crazy

Recommended Answers

All 2 Replies

AX and BX are 16-bit registers.

The high-byte and low-byte of AX,BX,CX,DX are also
referable by name.
AX-AH|AL
BX-BH|BL
CX-CH|CL
DX-DH|DL
So to refer to the lower eight bits of AX the name
AL is used.

For example:

mov bh,12h
mov bl,34h
; BX now contains 1234h

Hope this clears it up.

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.