If an X86_64 machine save a integer 56 will that be stored in the memory cells as binary 00111000 or BCD 01010110? ...
If an X86_64 machine save a integer 56 will that be stored in the memory cells as binary 00111000 or BCD 01010110? ...
Testing on EMU8086, with the following code snippet: The emulator shows that AF is 0 When doing the subtraction by hand, we got 7 - 4 = 3, no pr ...
I need to do this task: Write the program in 8051 assembler which copies the memory range 30H – 3FH to the memory range 40H – 4FH, copying the odd ...
I am trying to import a Mainframe EDI File back to SQL Server using .NET and I am having problems unpacking some comp-3 fields. This file was from on ...
I have a few questions regarding this code: from this site. I don't understand what exactly this line does: Does it perform right shift on the ...
I am trying to write code in JavaScript to convert binary-coded decimal into decimal and vice-versa. How can I achieve this? ...
i work on assembly for the X86 platform and i got an issue with doing bcd for numbers bigger than 99. i got in 'AX' 123 (decimal) and i added to it 5 ...
I am trying to add two 4 digits (16 bit) BCD numbers and display the result. I have written the code below but I want to know how do I handle the car ...
I've done some browsing and it seems like the PF and AF are very rarely used, and for a beginner such as myself, can basically be ignored as they rare ...
I'm attempting to update an old Paradox (BDE) table using an older Delphi XE6 application. One particular table has two fields; a Date field, and a BC ...
When I have a ClientDataset with datetime fields and decimal(5,2) fields, Delphi 10.4 can't show them on a TDBGrid, it raises a convert exception. I ...
I have this as hex = 81869400 and I need this in decimal = 948681000 In the description I can see that the coding is a BCD8. I have invested a lot of ...
My goal is coding a BCD adder in Verilog with gates. I have some issues: 1- How can I select bits from first "four bit adders" outputs. My sum is S. ...
I was asked to convert 8 bits binary to 3 digits of BCD. I saw online people use DIV but I do not understand that way at all, why would I divide by # ...
I have the next string: and I need to end up in the 6 byte array in bcd format which looks like this (same digits): How do I get there? points.g ...
For example, I would like to convert the int value 12 into a String output of BCD: 00 12 (0x00 0x12). If I have int value of 256, it will be 02 56 (wh ...
So my task is to convert BCD to decimal, but the problem is I don't know how to go from the first tetrad to the second one. For example the BCD number ...
I am currently trying to communicate with an old instrument that uses packed BCD numbers only (it's a Varian FR41 Controller Gaussmeter if anyone is f ...
I am completely new here. I guess I won't upset anyone. I am a student at Slovak Technical University, I study electrotechnical engineering so I do no ...
I need to convert an Int left padded 6 bytes (amount) to a BCD in Python. The closest I come is with this code (but it needs to loop in byte pair) ...