Advertisement
ASMProgrammer

Simple Memory Testing (FASM)

Jun 11th, 2024
296
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
ASM (NASM) 0.23 KB | Software | 0 0
  1. test_memory:
  2.         mov ecx, 0
  3.         mov edx, 0
  4.  
  5. check_memory:
  6.         mov eax, [ecx]
  7.         mov [edx], eax
  8.         inc ecx
  9.         inc edx
  10.         cmp cx, 1000
  11.         jnz check_memory
  12.  
  13.         mov eax, 0
  14.         ret
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement