Home > other >  Assembly language of the new turn
Assembly language of the new turn

Time:10-14

Memory cells store at the beginning of 2000 h 10 bytes with symbols, statistical program in a negative number, deposit and the statistical results to 3000 h unit,

CodePudding user response:

You need to what platform based on single chip microcomputer? Different platforms microcontroller is different, there is 2000 h and 3000 h is RAM or the address of FlashROM area? Problem description is not clear,

CodePudding user response:

This is done is microcomputer principle of no other description of the book

CodePudding user response:

Ha ha microcomputer principle, that is, 8086, 16 bits CPU; Looking for a 8086 c compiler, with c implementation first, and then the disassembly

CodePudding user response:

C programming in the compiler with the disassembly of the tool, the disassembly is the assembly code

CodePudding user response:

Mov si, 0 x2000
Mov di, $0 x3000
Mov cl, $0 x0
Mov dl, $0 x0
Loop: mov bx, si
Inc si
CMPB $0 x0, [bx]
Jge next
Inc cl
Next: inc dl
CMP $0 xa, dl
Jl loop
Mov cl, al
Mov al, di
  • Related