|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Generate data entry and reporting .NET Web apps in minutes, straight from your database. Read our FREE whitepaper “Build Web 2.0 Applications Without Hand-Coding” Download now! |
|
#1
|
|||
|
|||
|
Nasm struct usage
I defined a struct in .data segment:
Code:
section .data struc tree_node .left_child resd 1 ; reserve 1 doubleword .node_data resb 1 ; reserve 1 byte .right_child resd 1 ; reserve 1 doubleword endstruc node_ptr: istruc tree_node at tree_node.left_child, dd 1 at tree_node.node_data, db 1 at tree_node.right_child, dd 1 iend I want to create left and right child of node_ptr as in C and modify it when necessary. |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > Other Programming Languages > Nasm struct usage |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|