Forum Discussion
Altera_Forum
Honored Contributor
21 years agoCompiler
http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/mad.gif movia at,((90057600)/115200) 28: 00400034 movhi at,0 2c: 0840c354 ori at,at,781 movia at,((90000000+57600)/1152...
Altera_Forum
Honored Contributor
21 years agoTest code as following:# ====================================
.set noat _start: movia at,((90000000+57600)/115200) movia at,((90057600)/115200) .end# ==================================== I got these result: [NIOS2 GNU Shell]$ nios2-elf-gcc -c -o test.o test.S [NIOS2 GNU Shell]$ nios2-elf-objdump -S test.o test.o: file format elf32-littlenios2 Disassembly of section .text: 00000000 <_start>: 0: 00415774 movhi at,1373 4: 0852a014 ori at,at,19072 8: 00400034 movhi at,0 c: 0840c354 ori at,at,781 [NIOS2 GNU Shell]$ Why?