I worked on a project that was built by C++ and compiled on a linux ARM based zynq-7000 platform. What kind of platform is this? I know a zynq-7000 (or UltraScale) is a newer FPGA. I also worked a lot on ARM processors using C++ before. When the two (ARM & zynq-7000) combined together to ..
Category : arm
I am new to neon intrinsic and trying to optimize below code block using neon intrinsic. Can someone please help me. /* Code block */ uint32_t input = get_image_data(); uint32_t d1 = (input & 0x00000FF0) >> 4; uint32_t d2 = (input & 0x0FF00000) >> 20; if (d1 == d2) //some operation Source: Windows Que..
Write an ARM assembly language program to detect the even parity of the value stored in register r0 and store the result of detection in the least significant bit of register r1, i.e. if r0 contains an even number of ones, r1 = 0x00000001 else r1 = 0x00000000 Do this using the following algorithm: Initialize ..
I am trying to translate this C++ code: y = y+ x*32; z = y+ x*x; To ARM assembly assume (x is R1 register, y is R2, z in R3), and I should use only one assembly instruction for each case So, I suggest to do it using (MLA) but I don’t know how, can ..
I am trying to use odbc snowflake to pull excel queries in windows arm. The only office (excel) that I can download is 32 bit. When I download the 32 bit snowflake odbc driver odbc 32 manager will not see it. I also noticed that when I open the 32 bit odbc manager it says ..
In the dll file I have coded, I use headers written for arm or linux before. for example I replaced functions like srandom and random with srand and rand. however, my dll file does not work when I export it. When I checked it with the process monitor program, I saw that it searched for ..
I want to use the timer in my microcontroller as tick generator of the chrono class. imagine that I have function that gets the tick from timer register in the MCU and I call it get_tcik() and this register is 32 bit unsigned integer which increments each 1 microsecond. Now to use it with chrono ..
I want to know how to use C++ in embedded systems and microcontrollers programming and if there are specific applications that be implemented by C++? Source: Windows Que..
I am porting code from x86 to armv7. The code is consist of several custom libs: one of them is LibC, so I have my own implementation of memset and other similar functions. But I faced a crash on arm. class WindowFrameFake { public: WindowFrameFake(); ~WindowFrameFake() { } private: Vector<Button*> m_buttons1; Vector<Button*> m_buttons2; LG::Color m_color ..
I’ve a function as follwing: void function() { // open tcp port } Sorry but I can’t post my source code here. It work fine when I call this function from main, and when I try to move this function into a dll, it work okay on window and linux, but got crash on arm ..
Recent Comments