1
文字X86 MASMことにより、2つのバッファを比較し、それらが第3のバッファに一致するかどう文字で二つのバッファを比較し、反映する必要が私はX86アセンブリを使用しています
擬似コード:私は
Compare(ESI=msg_buffer_ptr, EDI=recover_buffer_ptr, EBX=err_buffer_ptr)
;Compare a character in ESI && EDI
;if ESI == 0 then we are at the end of the string and just return after adding add a 0 to EBX
;if they equal; " " -> EBX
;if it's a 0dh or 0ah, then transpose them into EBX
;else if they don't equal; "X" -> EBX
;Loop to next character
それぞれのキャラクターがどのようにアクセスするかを理解するのが難しい。
これは意味があります。私は間違いなく私の頭の中で物事を複雑にしていた。ありがとう!! – alicht