typedef struct node { int data; struct node *next; } nodeL;
假设我想用 MIPS 汇编语言翻译上述声明,我该怎么做?除了分配内存(使用 syscall 9),这是在 .text 段中完成的,那么 .data 段呢?另外,对齐怎么样?
c assembly struct mips
assembly ×1
c ×1
mips ×1
struct ×1