Why is the default C assert so heavyweight? Use this one:
#define ASSERT(exp) { if (!(exp)){_asm { int 3 };} }
-
-
-
Replying to @tomcr2100
Your life is misery unending. You are beyond my simple help. Abandon hope all who compile Thumb. In your wildest dreams you pray that adb will deliver unto you an occasional printf breadcrumb. But it will not.
2 replies 1 retweet 8 likes -
Replying to @tom_forsyth @tomcr2100
FWIW: with VC++, never use "asm { int 3; }", just use __debugbreak(); (works in 64-bit too). ARM A32/T32: __asm__("bkpt #0") ARM A64: __asm__("brk #0")
2 replies 1 retweet 21 likes -
i miss the simplicity of the good old asm{ ... } days in visual studio. .asm files are a hustle.
1 reply 0 retweets 1 like
Replying to @abductee_org @rygorous and
They could at least expose ALL the instructions through intrinsics. cmov, adc with cf&of, ...
10:29 AM - 2 Nov 2018
1 reply
0 retweets
2 likes
-
-
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.