Home > other >  Assembly language
Assembly language

Time:11-24

Assembler find out 1 to 50 data and can be divided exactly by 3 sum urgent please!!!!!!!!!!

CodePudding user response:

MOV DL, 3
XOR BX, BX
CX, MOV 50
_Loop:
MOV AX, CX
DIV DL
CMP AH, 0
JNZ _next
The ADD BX, CX
_next:
Loop _Loop


; As a result, there are BX
  • Related