[video member=miotatsu stream_platform=twitch project=riscy title="Searching for .align Source/Docs" vod_platform=youtube id=46fglG89Xxs annotator=Miblo] [0:19][Recap and set the stage for the day][:speech] [0:27][Consult the replies to the Big RISCY BUSINESS Question Thread[ref site="SiFive Forums" page="The Big RISCY BUSINESS Question Thread" url=https://forums.sifive.com/t/the-big-riscy-business-question-thread/531]][:research] [3:48][Consult the forum reply explaining why we pass the stack pointer as the 3rd argument to the trap handler[ref site="SiFive Forums" page="The Big RISCY BUSINESS Question Thread" url=https://forums.sifive.com/t/the-big-riscy-business-question-thread/531]][:research] [11:36][Anticipate the third RISC-V webinar[ref site="SiFive" page="Getting started with SiFive IP" url=https://info.sifive.com/risc-v-webinar]][:research] [12:34][Consult the forum reply explaining .align 2 in the .text.entry section[ref site="SiFive Forums" page="The Big RISCY BUSINESS Question Thread" url=https://forums.sifive.com/t/the-big-riscy-business-question-thread/531]][:asm :research] [16:23][Reorganise the desktop and point out the optional pcalc series[ref site=YouTube page="pcalc - va_args, environ, _start, build script" url=https://www.youtube.com/watch?v=IZkQgtGgfQM]][:admin] [21:22][Smallest addressable unit == 1 byte][:blackboard] [22:45][Continue to address the forum replies explaining .align 2[ref site="SiFive Forums" page="The Big RISCY BUSINESS Question Thread" url=https://forums.sifive.com/t/the-big-riscy-business-question-thread/531] and show physical copy of Hacker's Delight[ref site="Hacker's Delight" url=http://www.hackersdelight.org/]][:asm :research] [30:16][Explain nwr__rount_up_to_alignment() in nwr_mem.h, with a description of pcalc's start.S][:asm :speech] [35:31][Note that some of this information is currently a little advanced and lacking citations, with a few words on the intention of the Big RISCY BUSINESS Question Thread[ref site="SiFive Forums" page="The Big RISCY BUSINESS Question Thread" url=https://forums.sifive.com/t/the-big-riscy-business-question-thread/531]][:research] [40:38][Trawl through the riscv-gnu-toolchain[ref site=GitHub page="riscv/riscv-gnu-toolchain" url=https://github.com/riscv/riscv-gnu-toolchain] and gcc-mirror[ref site=GitHub page=gcc-mirror-gcc url=https://github.com/gcc-mirror/gcc] repos][:research] [45:29][Hunt for documentation on .align in riscv-binutils-gdb from the Freedom E SDK][:asm :research] [59:49][Read the Freedom E SDK's entry.S, with a few words on the :compilation process][:asm :research] [1:09:38][Scan through env/encoding.h and sifive/bits.h, included in entry.S, for STORE and LOAD definitions][:asm :research] [1:16:16][Summarise entry.S after the preprocessor has completed its work][:asm :research] [1:19:52][Note where we left off pwm_speed_test[ref site=GitHub page=riscy-business/pwm_speed_test url=https://github.com/riscy-business/pwm_speed_test] to investigate entry.S][:research] [1:21:15][Start to wrap it up before setting up the tablet to write][:admin] [1:23:39][Mark entry.S as being done][:blackboard] [1:23:49][Call it a day][:speech] [/video]