小编mar*_*oop的帖子

MARS MIPS 和结构节点

typedef struct node {    
    int data;    
    struct node *next;    
} nodeL; 
Run Code Online (Sandbox Code Playgroud)

假设我想用 MIPS 汇编语言翻译上述声明,我该怎么做?除了分配内存(使用 syscall 9),这是在 .text 段中完成的,那么 .data 段呢?另外,对齐怎么样?

c assembly struct mips

1
推荐指数
1
解决办法
6725
查看次数

标签 统计

assembly ×1

c ×1

mips ×1

struct ×1