User Activity

As per image sub=7(not typecasted), sub1=28(typecasted). I don't understand why is sub giving wrong value I understand I have not typecasted but,each pointer variable is holding 4 byte value (i.e int type) then,typecasting must not be required isnt i...
#include<stdio.h> #include<stdint.h> #define SCHED_STACK_START 20126976U void init_tasks_stack(void); void task1handler(void); void enable_processor_faults(void);   __attribute__((naked)) void init_scheduler_stack(uint32_t sched_top_of_stack);   int ...
I have few doubts as follows:1. Each MEMORY MAPPED ADDRESS is how many bytes wide? 1 or 4 bytes (I think it as 1 byte).2. The ST datasheet for stm446xx says the SRAM is of 128Kb size then,start and end addresss is 0x20000000 to 0x2001FFFF but, bit ba...
Kudos from