Hi all, I have a two dimensional array which looks like

A: .byte 'A','B','C','D'
.byte 'E','F','G','H'

but I would like to make each element fit two characters e.g .byte "8C","9A" ...etc

how to allocate 2 byte for each element to make it hold two characters?

Don't know much about MIPS, but instead of using byte for variable size, could you use halfword?

A: .halfword '8C','9A','9B' .... etc
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.