I have some memory address 0x00000100 that I want to read from. The lower 4 bits read from this address indicates the states of 4 buttons - So bit 0 shows the state of button 0, bit 1 shows the state of button 1, etc. My question is- How can I find determine the state of button 0 and button 1 in assembly language? I want to know when button 0 and button 1 are high.
I am using a MiteFPGA processor, and Xilinx Vivado, on a basys 3 board. I am using the MiteASM assembler.