Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

Detail andi

Altera_Forum
Honored Contributor II
918 Views

.text .equ SWITCHES, 0x0850 .global main main: movia r10,SWITCHES ldwio r9,0(r10) andi r9,r9,0xff# only receive 1 value: SWITCHES ldwio r8,0(r10) andi r8,r8,0x02# receive two value: 2 or SWITCHES value br main .end 

I don't know why r9 receive only 1 value! 

I formulation by JNIOSEmu 

Thanks you
0 Kudos
0 Replies
Reply