由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Unix版 - extern to call assembly
相关主题
[转载] I cannot install cxterm?!我想down套solaris8,有谁可以帮我的么??
UNIX vs LINUX? why?why my shell program doesn't continue
有哪位大吓知道CXTERM下的中文文本编辑软件,请告知,不胜感激!Question about Cxterm: how to add fonts when using X terminal?
Solaris FAQHow can I input Chinese under Solaris/intel?
Sun Ultra 10bad root shell?
SOS! Sun Ultra 10 questioncan SPARC Station 5 or 20 recognize IBM DMVS COMP IEC-950 LVD 9G scsi harddisk?
How to view chinese font in Solaris/intel?Re: can SPARC Station 5 or 20 recognize IBM DMVS COMP IEC-950 LVD 9G s
Re: CXterm Configure prob on SUN sparc 5做一个PROJECT,教授需要RCS
相关话题的讨论汇总
话题: mbr话题: blocks话题: extern话题: assembly话题: variables
进入Unix版参与讨论
1 (共1页)
m******l
发帖数: 613
1
I have a urgent question
I have defined some global variables in my s file(SPARC assembly)
boot.s (projects in OS)
.global mbr_blocks
mbr_blocks .word 0
...
...
in my C file , I wanna use such variables
using
extern int mbr_blocks to define it at the beginning of the cboot.c
but the error say"mbr_blocks undeclared"
Is there any suggestion of what's going on.
It is just urgent cause this is due tomorrow.
Thank you all very much!
m******l
发帖数: 613
2
the most ft thing is
I have declare a interrupt[size] there
but it doesn't work even if I redefine it in my main() in the C file
That's too bad...

【在 m******l 的大作中提到】
: I have a urgent question
: I have defined some global variables in my s file(SPARC assembly)
: boot.s (projects in OS)
: .global mbr_blocks
: mbr_blocks .word 0
: ...
: ...
: in my C file , I wanna use such variables
: using
: extern int mbr_blocks to define it at the beginning of the cboot.c

1 (共1页)
进入Unix版参与讨论
相关主题
做一个PROJECT,教授需要RCSSun Ultra 10
如何设置一机多屏???SOS! Sun Ultra 10 question
Emacs question.How to view chinese font in Solaris/intel?
about Sun WorkstationsRe: CXterm Configure prob on SUN sparc 5
[转载] I cannot install cxterm?!我想down套solaris8,有谁可以帮我的么??
UNIX vs LINUX? why?why my shell program doesn't continue
有哪位大吓知道CXTERM下的中文文本编辑软件,请告知,不胜感激!Question about Cxterm: how to add fonts when using X terminal?
Solaris FAQHow can I input Chinese under Solaris/intel?
相关话题的讨论汇总
话题: mbr话题: blocks话题: extern话题: assembly话题: variables