mirror of
				https://github.com/simon987/Much-Assembly-Required.git
				synced 2025-11-04 10:06:54 +00:00 
			
		
		
		
	Updated Learn by Examples (markdown)
							parent
							
								
									562ec5e47f
								
							
						
					
					
						commit
						95b42a0741
					
				@ -4,7 +4,7 @@
 | 
			
		||||
HWID_HOLO         EQU 0x9           ; setup constants
 | 
			
		||||
HOLO_DISPLAY_HEX  EQU 1
 | 
			
		||||
.data
 | 
			
		||||
    DISPLAYED_HEX: DW 0X000A        ; create a word in memory called DISPLAYED_HEX and set its value to 0x000A
 | 
			
		||||
    DISPLAYED_HEX: DW 0x000A        ; create a word in memory called DISPLAYED_HEX and set its value to 0x000A
 | 
			
		||||
.text
 | 
			
		||||
    MOV A, HOLO_DISPLAY_HEX         ; MOV the constant HOLO_DISPLAY_HEX into register A
 | 
			
		||||
    MOV B, [DISPLAYED_HEX]          ; MOV the value inside the memory spot DISPLAYED_HEX into register B
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user