Click here to Skip to main content
15,891,136 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Another Assembly Guide Pin
Peter_in_278015-May-22 20:25
professionalPeter_in_278015-May-22 20:25 
GeneralRe: Another Assembly Guide Pin
honey the codewitch15-May-22 20:48
mvahoney the codewitch15-May-22 20:48 
GeneralRe: Another Assembly Guide Pin
User 1052936016-May-22 23:11
User 1052936016-May-22 23:11 
GeneralRe: Another Assembly Guide Pin
honey the codewitch16-May-22 23:45
mvahoney the codewitch16-May-22 23:45 
GeneralRe: Another Assembly Guide Pin
User 1052936017-May-22 0:48
User 1052936017-May-22 0:48 
GeneralRe: Another Assembly Guide Pin
honey the codewitch17-May-22 0:50
mvahoney the codewitch17-May-22 0:50 
GeneralRe: Another Assembly Guide Pin
User 1052936017-May-22 2:00
User 1052936017-May-22 2:00 
GeneralRe: Another Assembly Guide Pin
honey the codewitch17-May-22 0:56
mvahoney the codewitch17-May-22 0:56 
The following code bit bangs an 8-bit parallel bus using C++. It does so in a way that is extremely timing sensitive. It is something you would probably code in asm. Currently it only works on the ESP32 because I haven't coded for the hardware registers to flip GPIO on and off for platforms other than that - the timing is so sensitive that the generic API just isn't fast enough.

My point is though, this has to generate very specific bytecode for it to be fast enough to work. I had to run it through godbolt.org

It does. If you're not very familiar with C++ it won't look like it, with "if" statements all over the place and what not.

They are compiled out.


htcw_tft_io/tft_parallel8.hpp at master · codewitch-honey-crisis/htcw_tft_io · GitHub[^]
To err is human. Fortune favors the monsters.

GeneralRe: Another Assembly Guide Pin
honey the codewitch17-May-22 1:34
mvahoney the codewitch17-May-22 1:34 
GeneralRe: Another Assembly Guide Pin
User 1052936017-May-22 1:48
User 1052936017-May-22 1:48 
GeneralRe: Another Assembly Guide Pin
honey the codewitch17-May-22 1:57
mvahoney the codewitch17-May-22 1:57 
GeneralRe: Another Assembly Guide Pin
harold aptroot15-May-22 2:59
harold aptroot15-May-22 2:59 
GeneralRe: Another Assembly Guide Pin
glennPattonWork315-May-22 4:59
professionalglennPattonWork315-May-22 4:59 
GeneralRe: Another Assembly Guide Pin
glennPattonWork315-May-22 5:05
professionalglennPattonWork315-May-22 5:05 
JokeMy roommate claims that our house is haunted because she saw a ghost... PinPopular
Sander Rossel14-May-22 23:28
professionalSander Rossel14-May-22 23:28 
GeneralRe: My roommate claims that our house is haunted because she saw a ghost... Pin
Paul Sanders (the other one)16-May-22 0:57
Paul Sanders (the other one)16-May-22 0:57 
GeneralRe: My roommate claims that our house is haunted because she saw a ghost... Pin
Sander Rossel16-May-22 9:39
professionalSander Rossel16-May-22 9:39 
GeneralRe: My roommate claims that our house is haunted because she saw a ghost... Pin
Paul Sanders (the other one)16-May-22 11:15
Paul Sanders (the other one)16-May-22 11:15 
GeneralLeaky Forms: A Study of Email and Password Exfiltration Before Form Submission Pin
abmv14-May-22 17:59
professionalabmv14-May-22 17:59 
GeneralRe: Leaky Forms: A Study of Email and Password Exfiltration Before Form Submission Pin
pkfox14-May-22 21:47
professionalpkfox14-May-22 21:47 
GeneralRe: Leaky Forms: A Study of Email and Password Exfiltration Before Form Submission Pin
Peter_in_278014-May-22 22:37
professionalPeter_in_278014-May-22 22:37 
GeneralRe: Leaky Forms: A Study of Email and Password Exfiltration Before Form Submission Pin
Kent Sharkey15-May-22 10:30
staffKent Sharkey15-May-22 10:30 
GeneralRe: Leaky Forms: A Study of Email and Password Exfiltration Before Form Submission Pin
Cpichols16-May-22 1:46
Cpichols16-May-22 1:46 
GeneralRe: Leaky Forms: A Study of Email and Password Exfiltration Before Form Submission Pin
obermd16-May-22 3:12
obermd16-May-22 3:12 
GeneralWordle Hurdle Pin
Vivi Chellappa14-May-22 10:37
professionalVivi Chellappa14-May-22 10:37 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.