Output assembler letter?
Enter OLIver. The output should be:
OLIVER
I only receive
OLI. Where is my error in the code?
Enter OLIver. The output should be:
OLIVER
I only receive
OLI. Where is my error in the code?
Hello, I have zero experience or knowledge of Python and wanted to know where the best place to learn is? Which website, etc.?
So I created a database in Notion with a subject overview. Each subject has its own page in the table. Then I created another database with a to-do list. In this ToDo list I have the name (e.g. "Create index cards") and a "relation" to the subject database, where I can then select the subject…
GPT-4 works perfectly on my laptop, but yesterday I wanted to use it again on my iPad, but it just won't load. I've closed and reopened Safari, restarted the iPad, and even logged in again, but somehow it doesn't work. Yesterday morning I was still able to write using GPT, but it was different there…
Hello, Is there any software that I can use to create a bot stick directly? That does it for me? LG
Hey, I'm currently trying out a few Raspberry PI projects and would like to make an input on the PI using a barcode scanner. I got the Honeywell Hyperion 1300g scanner for this purpose. I can connect it to my Mac, and it works perfectly. However, when I connect it to the Pi, I can…
Most likely ah hot instead al, after all, in the code before you also work with the register ah.
The whole thing is unusually programmed. Actually, I’d like to have some subprogrammes like this call / re- expect (and parameter transfer via the stack instead of simply using the same register, which is of course very “flaky”) and not just conditional jumps.
I’m a beginner in assembler. All right!
Is something wrong in “smallLetter”? Because for capital letters, the code obviously works. What is the code in “smallLetter” supposed to do? And why should ah have exactly the value 10 so that “print” is jumped?
Only letters are entered. Big or small.
If a small letter has been entered, it should be converted into a capital letter. At the end, then print everything.
10 is the line feed in ASCI code
Give OLIverenter a
—
A < Z < a < z than in ASCII
Sure. Just not to the alphabet, but also a few clips and stuff. Therefore, the 32.
YES! I understand! I only remembered that the difference was NOT 32, but 26. But as I wrote 4 comments before, I could find out this within 20 seconds!
That I’ve done any low-level ASCII operations is 20 years ago… Since then, for good reason, I prefer to move into programming languages, where frameworks take off this stuff.
The 32 is simply the difference between A and a in ASCII
Here we go. Thank you.
Yeah, tried it again. That’s right.
Well, you take 32 off ah, but write back al – could that be your problem?
Well, if, for example, I have ‘b’ as char, then I take off 32 and land at ‘B’ as char.