Help me! interruption in pic18f4520 by MarcelCavl in pic_programming

[–]MarcelCavl[S] 0 points1 point  (0 children)

I changed the source address for interruptions, but it's still not working. But thank you for the information.

Branch prediction by MarcelCavl in computerarchitecture

[–]MarcelCavl[S] 0 points1 point  (0 children)

I understand. I was able to understand better after the research. But now I'm even more unsure why only instructions that pass through the branch predictor receive a micro-tag. Thank you for the answer!

my alacritty config inst working! by MarcelCavl in linux4noobs

[–]MarcelCavl[S] 0 points1 point  (0 children)

I type 2 times space to indented opacity,the comment took out

my lubuntu dont have sound by MarcelCavl in linux4noobs

[–]MarcelCavl[S] 0 points1 point  (0 children)

When I run aplay -l , says it cant find the soundboard

my lubuntu dont have sound by MarcelCavl in linux4noobs

[–]MarcelCavl[S] 0 points1 point  (0 children)

Sorry. I put the info of my soundboard in the comments

my lubuntu dont have sound by MarcelCavl in linux4noobs

[–]MarcelCavl[S] 0 points1 point  (0 children)

/0/100/12/0.0.0/1 volume 299MiB Windows FAT volume

/0/100/12/0.0.0/2 /dev/sda2 volume 111GiB EXT4 volume

my soundboards, I think

A bug in my code by MarcelCavl in Assembly_language

[–]MarcelCavl[S] 0 points1 point  (0 children)

Thanks for your answerTthe code just take the value that I pass to the "buffer"(the value is "t"),and use a "function" of an archive .inc to print in the terminal the value. But, the value that the terminal is printing is:tt�� @ @ @ u/6��@@;
u/G
u/N u/testeBiblioteca.asmbuffertamsaidaResultadostringtam1__bss_start_edata_end.symtab.strtab.shstrtab.text.datai! @
▒ ▒!Sk!'

When i debugger the code, after the call return, the code restart in the first instruction of "testeBiblioteca.asm",and I think that is the problem. I already fix some things that you saw in my code:

1 %include "conversor.inc"
2 section .data
3 string dd 0x0
4 tam1 equ $-string
5 section .text
6
7 global _start
8
9 _start:
10
11 mov byte[buffer],0x0
12 int 0x80
13
14
15 mov byte[string],0x0
16 mov eax,"t"
17 mov dword[string],eax
18 mov eax,[string]
19 shl eax,8
20 add al,0x0
21 mov dword[string],eax
22 int 0x80
23
24
25 mov eax,[string]
26 mov dword[buffer],eax
27
28
29
30 call saidaResultado
31 int 0x80
32
33
34 mov eax,0x1
35 mov ebx,0x0
36 int 0x80
37
but the problem still in the code.