;;; File: second.asm
;;; (C) 2003 Ivan Escobar, ITESM-CEM
;;; First Assembly language program
;;; Module to show basic operations of how to
;;; transfer contents between two memory locations


;; here we start the code that is going to operateg
global _test


section .data
	
	counter1 dd 0
	number1  dd 5
	
	
section .text


_test

	
	;; Counter= number
	;; number = 5hex

	
	mov eax, [number1]
	mov [counter1], eax
	mov ebx,[counter1]
	ret ;return to the calling subrouting in c++
	