sorear changed the topic of #riscv to: RISC-V instruction set architecture | https://riscv.org | Logs: https://libera.irclog.whitequark.org/riscv
shicz2 has quit [Ping timeout: 264 seconds]
shicz2 has joined #riscv
pecastro has quit [Ping timeout: 260 seconds]
shicz2 has quit [Ping timeout: 268 seconds]
shicz2 has joined #riscv
riff-IRC has quit [Read error: Connection reset by peer]
riff-IRC has joined #riscv
shicz2 has quit [Ping timeout: 260 seconds]
shicz2 has joined #riscv
shicz2 has quit [Ping timeout: 245 seconds]
shicz2 has joined #riscv
frost has joined #riscv
indy has quit [Ping timeout: 260 seconds]
PyroPeter has quit [Ping timeout: 260 seconds]
PyroPeter has joined #riscv
shicz2 has quit [Ping timeout: 260 seconds]
indy has joined #riscv
shicz2 has joined #riscv
riff-IRC has quit [Remote host closed the connection]
riff-IRC has joined #riscv
BOKALDO has joined #riscv
mahmutov has joined #riscv
kajiryoji has quit [Ping timeout: 250 seconds]
kajiryoji has joined #riscv
shicz2 has quit [Ping timeout: 256 seconds]
shicz2 has joined #riscv
winterflaw has joined #riscv
zv has quit [Ping timeout: 268 seconds]
TMM_ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
TMM_ has joined #riscv
zv has joined #riscv
lkronnus has quit [Quit: Konversation terminated!]
lkronnus has joined #riscv
lkronnus has quit [Client Quit]
lkronnus has joined #riscv
mahmutov has quit [Ping timeout: 260 seconds]
hendursa1 has joined #riscv
hendursaga has quit [Ping timeout: 276 seconds]
smartin has joined #riscv
drmpeg has quit [Ping timeout: 265 seconds]
drmpeg has joined #riscv
shicz2 has quit [Ping timeout: 264 seconds]
shicz2 has joined #riscv
Sofia has quit [Remote host closed the connection]
Sofia has joined #riscv
tafa has joined #riscv
BOKALDO has quit [Quit: Leaving]
nun has quit [Ping timeout: 260 seconds]
nun has joined #riscv
hexteex has joined #riscv
shicz2 has quit [Ping timeout: 268 seconds]
shicz2 has joined #riscv
unmanbearpig has quit [Ping timeout: 268 seconds]
shicz2 has quit [Ping timeout: 260 seconds]
unmanbearpig has joined #riscv
shicz2 has joined #riscv
pecastro has joined #riscv
BOKALDO has joined #riscv
kajiryoji has quit [Ping timeout: 250 seconds]
Andre_H has joined #riscv
TMM_ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
TMM_ has joined #riscv
jacklsw has joined #riscv
nun has quit [Quit: ZNC - http://znc.in]
Sofia has quit [Remote host closed the connection]
Sofia has joined #riscv
kajiryoji has joined #riscv
freakazoid333 has joined #riscv
freakazoid343 has quit [Ping timeout: 260 seconds]
hendursa1 has quit [Remote host closed the connection]
hendursa1 has joined #riscv
freakazoid343 has joined #riscv
freakazoid333 has quit [Ping timeout: 260 seconds]
X-Scale has quit [Ping timeout: 260 seconds]
X-Scale` has joined #riscv
X-Scale` is now known as X-Scale
frost has quit [Quit: Connection closed]
mahmutov has joined #riscv
hexteetx has joined #riscv
hexteex has quit [Ping timeout: 276 seconds]
hexteetx is now known as hexteex
nun has joined #riscv
hexteex has quit [Quit: Leaving]
hexteex has joined #riscv
hexteex has quit [Client Quit]
hexteex has joined #riscv
jacklsw has quit [Read error: Connection reset by peer]
grubman9001 has joined #riscv
grubman9000 has quit [Ping timeout: 256 seconds]
mahmutov_ has joined #riscv
mahmutov has quit [Ping timeout: 268 seconds]
jellydonut has quit [Quit: jellydonut]
jellydonut has joined #riscv
Andre_H has quit [Quit: Leaving.]
mahmutov has joined #riscv
bsduser2 has joined #riscv
grubman9001 has quit [Ping timeout: 244 seconds]
mahmutov_ has quit [Ping timeout: 268 seconds]
shicz2 has quit [Ping timeout: 260 seconds]
shicz2 has joined #riscv
Guest99 has joined #riscv
BOKALDO has quit [Quit: Leaving]
<Guest99> lui x13,0x12341 # load upper immediate of the memory address
<Guest99> addi x13,x13,0x234 #add lower bits of memory address
<Guest99> addi x12,x0,5 # load first byte of value into x12
<Guest99> sb x12 0(x13) #store first byte into memory address specified by x13
<Guest99> addi x12,x0,15 # load second byte
<Guest99> sb x12 1(x13) #store second byte
<Guest99> addi x12,x0,25 #load third byte
<Guest99> sb x12 2(x13) #store third byte
<Guest99> addi x12,x0,-25 #load fourth byte
<Guest99> sb x12 3(x13) #store fourth byte
<Guest99> addi x12,x0,-10 # load fifth byte
<Guest99> sb x12 4(x13) #store fifth byte
<Guest99> addi x12,x0,55
<Guest99> sb x12 5(x13)
<Guest99> I'm trying to wirte an array into a specific memory address, how can I make this work for any size of the array?
<sorear> how much do you know about asm programming, or memory-level programming in general? should I assume you know what a loop is?
<sorear> new here?
<Guest99> I know loops but I'm new
hexteex has quit [Quit: Leaving]
hendursa1 has quit [Quit: hendursa1]
hendursaga has joined #riscv
<muurkha> increment the pointers every time through the loop
Guest99 has quit [Ping timeout: 256 seconds]
smartin has quit [Quit: smartin]
brettgilio has quit [Quit: Leaving...]
brettgilio has joined #riscv
hendursaga has quit [Remote host closed the connection]
hendursaga has joined #riscv
bsduser2 is now known as grubman9000
Guest99 has joined #riscv
mahmutov has quit [Ping timeout: 256 seconds]
Guest99 has quit [Quit: Client closed]
Guest99 has joined #riscv
lagash has joined #riscv
winterflaw has quit [Ping timeout: 276 seconds]
hendursaga has quit [Quit: hendursaga]
jimwilson has quit [Quit: Leaving]
jimwilson has joined #riscv