Jump to content

Multi-dimensional array: Difference between revisions

m
→‎{{header|X86-64 Assembly}}: Miss calc'd my length :[
No edit summary
m (→‎{{header|X86-64 Assembly}}: Miss calc'd my length :[)
Line 2,509:
exit proto :dword
 
ROW_LEN equ (4*24) ;Length of the row, 2 rows of int so, 2 dwords
MEM_SIZE equ 4 ;1 dword, int
 
.data
Line 2,523:
local cols:qword
invoke printf, CSTR("--> Printing 2d..",10)
lea rbx, twodimen
mov cols, 0
Line 2,577 ⟶ 2,576:
{{out}}
<pre>
--> Printing 2d..
--> Printing columns in row 1
0
1
2
4
3
5
--> Printing columns in row 2
4
Cookies help us deliver our services. By using our services, you agree to our use of cookies.