max_stars_repo_path stringlengths 3 255 | max_stars_repo_name stringlengths 5 116 | max_stars_count int64 0 107k | id stringlengths 1 7 | content stringlengths 63 1.05M |
|---|---|---|---|---|
oeis/192/A192976.asm | neoneye/loda-programs | 11 | 46241 | ; A192976: Coefficient of x in the reduction by x^2 -> x+1 of the polynomial p(n,x) defined at Comments.
; 0,1,2,10,29,70,148,289,534,950,1645,2794,4680,7761,12778,20930,34157,55598,90332,146577,237630,385006,623517,1009490,1634064,2644705,4280018,6926074,11207549,18135190,29344420,47481409,76827750,124311206,201141133... |
Mid-Term/Solution/N1/1.asm | TasneemMahmud1731893642/CSE331 | 0 | 46242 |
; You may customize this and other start-up templates;
; The location of this template is c:\emu8086\inc\0_com_template.txt
org 100h
.MODEL SMALL
.STACK 100H
.DATA
PROMPT_1 DB "Enter Integer 1: $"
PROMPT_2 DB "Enter Integer 2: $"
PROMPT_3 DB 0DH,0AH, "MUL of integers: $"
.CODE
MAIN PROC
MOV AX,@DATA
... |
src/intel/tools/tests/gen4/or.asm | SoftReaper/Mesa-Renoir-deb | 0 | 46244 | <reponame>SoftReaper/Mesa-Renoir-deb<filename>src/intel/tools/tests/gen4/or.asm
(+f0.0) or(8) g9<1>.wUD g9<4>.wUD 0x00000040UD { align16 };
or(8) g13<1>.xUD g13<4>.xUD g14<4>.xUD { align16 };
or(8) g3<1>UD g3<8,8,1>UD g5<8,8,1>UD { align1 };
or(16) ... |
mips/selectsort.asm | x06lan/mt | 0 | 46245 | <reponame>x06lan/mt
.data
msg1: .asciiz "Give a number: "
list: .space 400
list1: .word 1,6,7,6,9,7,0,2
.text
.globl main
main:
la $s0,list1
li $t0,32 #8*4
li $t1,0 #i
li $t2,0 #j
li $t3,0 #max
loopi:
addi $t2,$t1,0
add $s1,$s0,$t1
add $t3,$t1,$0
loopj:
addi $t2,$t2,4
add $s2,$s0,$t2
add $s3,$s... |
programs/oeis/061/A061278.asm | karttu/loda | 0 | 46246 | ; A061278: a(n) = 5*a(n-1) - 5*a(n-2) + a(n-3) with a(1) = 1 and a(k) = 0 if k <= 0.
; 0,1,5,20,76,285,1065,3976,14840,55385,206701,771420,2878980,10744501,40099025,149651600,558507376,2084377905,7779004245,29031639076,108347552060,404358569165,1509086724601,5631988329240,21018866592360,78443478040201,292755045568445,1... |
Lab01/mycode01.asm | Deboraj-roy/COMPUTER-ORGANIZATION-AND-ARCHITECTURE-C- | 0 | 46247 | ;Write two assembly language programs to calculate the following high-level arithmetic instructions and print the result into the screen as output:
;i) A = B-A-1
; The easiest way to print out "Hello, World!"
name "hi"
org 100h
jmp start ; jump over data declaration
msg: db "A = B-A-1", ... |
scripts/route2.asm | longlostsoul/EvoYellow | 16 | 46249 | <filename>scripts/route2.asm
Route2Script:
jp EnableAutoTextBoxDrawing
Route2TextPointers:
dw PickUpItemText
dw PickUpItemText
dw Route2Text3
dw Route2Text4
dw Route2Tree1
dw Route2Tree2
Route2Text3:
TX_FAR _Route2Text3
db "@"
Route2Text4:
TX_FAR _Route2Text4
db "@"
Route2Tree1:
db $08 ; asm
ld a, 2 ; ... |
test/asm/interpolation.asm | michealccc/rgbds | 522 | 46250 | <reponame>michealccc/rgbds
SECTION "Test", ROM0
NAME equs "ITEM"
FMT equs "d"
ZERO_NUM equ 0
ZERO_STR equs "0"
; Defines INDEX as 100
INDEX = 1{ZERO_STR}{{FMT}:ZERO_NUM}
; Defines ITEM_100 as "\"hundredth\""
{NAME}_{d:INDEX} equs "\"hundredth\""
; Prints "ITEM_100 is hundredth"
PRINTLN STRCAT("{NAME}_{d:INDEX}", " is ... |
Driver/Video/VGAlike/VGA/vgaManager.asm | steakknife/pcgeos | 504 | 46251 | <reponame>steakknife/pcgeos
COMMENT }%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1988 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: Video driver
FILE: vgaManager.asm
AUTHOR: <NAME>
REVISION HISTORY:
Name Date Description
---- ---- ----------... |
oeis/061/A061802.asm | neoneye/loda-programs | 11 | 46252 | <gh_stars>10-100
; A061802: Sum of n-th row of triangle of primes: 2; 2 3 2; 2 3 5 3 2; 2 3 5 7 5 3 2; ...; where n-th row contains 2n+1 terms.
; Submitted by <NAME>(s3)
; 2,7,15,27,45,69,99,135,177,229,289,357,435,519,609,709,821,941,1069,1207,1351,1503,1665,1837,2023,2221,2425,2635,2851,3073,3313,3571,3839,4115,4403,... |
programs/oeis/027/A027928.asm | neoneye/loda | 22 | 46253 | <reponame>neoneye/loda<filename>programs/oeis/027/A027928.asm
; A027928: a(n) = T(n, 2*n-5), T given by A027926.
; 1,3,8,20,46,97,189,344,591,967,1518,2300,3380,4837,6763,9264,12461,16491,21508,27684,35210,44297,55177,68104,83355,101231,122058,146188,174000,205901,242327,283744,330649,383571,443072,509748,584230,667185... |
test/filters-cases/clanglib-bug2898-b.asm | OfekShilon/compiler-explorer | 4,668 | 46254 | <filename>test/filters-cases/clanglib-bug2898-b.asm<gh_stars>1000+
.text
.intel_syntax noprefix
.file "example.cpp"
.file 1 "/usr/include/x86_64-linux-gnu/bits/types" "__mbstate_t.h"
.file 2 "/usr/include/x86_64-linux-gnu/bits/types" "mbstate_t.h"
.file 3 "/opt/compiler-explorer/gcc-11.1.0/lib/gcc/x86_64-linux-gn... |
thirdparty/ffmpeg/libavfilter/x86/vf_limiter.asm | yashrajsingh1998/ApraPipes1 | 2,151 | 46255 | <reponame>yashrajsingh1998/ApraPipes1
;*****************************************************************************
;* x86-optimized functions for limiter filter
;*
;* This file is part of FFmpeg.
;*
;* FFmpeg is free software; you can redistribute it and/or
;* modify it under the terms of the GNU Lesser General Publi... |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_21829_1777.asm | ljhsiun2/medusa | 9 | 46256 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r13
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x1219, %rcx
nop
nop
nop
sub %rdi, %rdi
mov $0x6162636465666768, %r12
movq %r12, (%rcx)
cmp %rbp, %rbp
lea addresses_WT_ht+0x7c19, %rsi
nop
and $65099, %r13
and $0xfffffffffff... |
oeis/181/A181353.asm | neoneye/loda-programs | 11 | 46257 | ; A181353: a(n) = 9*a(n-1) + 3*a(n-2); a(0)=0, a(1)=1.
; Submitted by <NAME>(s4)
; 0,1,9,84,783,7299,68040,634257,5912433,55114668,513769311,4789267803,44644718160,416170266849,3879466556121,36163709805636,337111787919087,3142497220688691,29293810349955480,273071784811665393,2545527494354854977,23728962803628690972,221... |
putc.asm | stevebob/hello-kernel | 2 | 46258 | <gh_stars>1-10
global putc
global _putchar
%define COM1 0x3F8
section .text
bits 64
_putchar: ; needed to link with printf library
putc:
mov rax, rdi
mov dx, COM1
out dx, al
ret
|
asm/test_long_instr.asm | stfnwong/s8080 | 0 | 46259 | ; TEST_LONG_INSTR
; Long (3 byte) instructions for 8080 assembler
;
; <NAME> 2020
TEST_START: ADI 0
; Valid LXI intructions
LXI B 250h
LXI D 100h
LXI H 5
LXI SP 22h
; LXI is not supposed to accept A, C, or L as args,
; but we could relax that and just assemble A as (AB... |
libsrc/gfx/wide/w_undrawb.asm | ahjelm/z88dk | 640 | 46260 | ; void undrawb_callee(int tlx, int tly, int width, int height)
IF !__CPU_INTEL__ && !__CPU_GBZ80__
SECTION code_graphics
PUBLIC undrawb
PUBLIC _undrawb
EXTERN asm_undrawb
.undrawb
._undrawb
pop af
pop de
pop hl
exx ; w_plotpixel and swapgfxbk must not use the... |
Examples/conversion-routines/nibblebin2hexascii.asm | agguro/linux-nasm | 6 | 46261 | ;name: nibblebin2hexascii.asm
;
;description: branch free conversion of a nible in rdi to ascii in rax.
;
;the algorithm:
; ah al
; ax: 0000 0000 0000 1111
; shl ax,4 0000 0000 1111 0000
; 0000 0000 0110 0000
; add ax,0x0060 00... |
programs/oeis/291/A291514.asm | karttu/loda | 1 | 46262 | <reponame>karttu/loda<filename>programs/oeis/291/A291514.asm
; A291514: The arithmetic function uhat(n,3,5).
; -9,-9,-9,-9,-9,-9,-9,-9,-9,-10,-11,-12,-13,-14,-15,-16,-17,-18,-19,-20,-21,-22,-23,-24,-25,-26,-27,-28,-29,-30,-31,-32,-33,-34,-35,-36,-37,-38,-39,-40,-41,-42,-43,-44,-45,-46,-47,-48,-49,-50,-51,-52,-53,-54,-5... |
libsrc/graphics/uncircle.asm | grancier/z180 | 0 | 46263 | <filename>libsrc/graphics/uncircle.asm
;
; Z88 Graphics Functions - Small C+ stubs
;
; Written around the Interlogic Standard Library
;
; Stubs Written by <NAME> - 30/9/98
;
;
; $Id: uncircle.asm,v 1.6 2016/04/13 21:09:09 dom Exp $
;
SECTION code_clib
PUBLIC uncircle
... |
oeis/090/A090895.asm | neoneye/loda-programs | 11 | 46264 | <filename>oeis/090/A090895.asm
; A090895: a(1)=1 then a(n)=a(n-1)/2 if a(n-1) is even, a(n)=a(n-1)+n otherwise.
; Submitted by <NAME>(s3)
; 1,3,6,3,8,4,2,1,10,5,16,8,4,2,1,17,34,17,36,18,9,31,54,27,52,26,13,41,70,35,66,33,66,33,68,34,17,55,94,47,88,44,22,11,56,28,14,7,56,28,14,7,60,30,15,71,128,64,32,16,8,4,2,1,66,33,1... |
vanilla/music.asm | PJBoy/SM-SPC | 4 | 46266 | <filename>vanilla/music.asm
; $172D
getNextTrackerCommand:
{
; YA = [[tracker pointer]]
; Tracker pointer += 2
mov y,#$00 : mov a,(!p_tracker)+y : incw !p_tracker
push a
mov a,(!p_tracker)+y : incw !p_tracker : mov y,a
pop a
ret
}
; $173B
loadNewMusicData:
{
call receiveDataFromCpu
mov !cpuIo0_read_p... |
coverage/PENDING_SUBMIT/amdvlk/0597-COVERAGE-instruction-simplify-5221/work/variant/1_spirv_asm/shader.frag.asm | asuonpaa/ShaderTests | 0 | 46267 | ; SPIR-V
; Version: 1.0
; Generator: Khronos Glslang Reference Front End; 10
; Bound: 88
; Schema: 0
OpCapability Shader
%1 = OpExtInstImport "GLSL.std.450"
OpMemoryModel Logical GLSL450
OpEntryPoint Fragment %4 "main" %9
OpExecutionMode %4 OriginUpp... |
libsrc/stdio/vg5k/fgetc_cons.asm | meesokim/z88dk | 0 | 46269 | ;
; Philips VG5000
;
; getkey() Wait for keypress
;
; Jun 2014 - Joaopa
;
;
; $Id: fgetc_cons.asm,v 1.3 2015/01/19 01:33:21 pauloscustodio Exp $
;
PUBLIC fgetc_cons
ld ix,$47FA
.fgetc_cons
; push bc
; push de
; push af
.wait_for_a_press
call 12983
; ld (hl), a
;jr c, wait_for_a_press
and a
jr z,... |
programs/oeis/049/A049454.asm | neoneye/loda | 22 | 46270 | <filename>programs/oeis/049/A049454.asm
; A049454: a(n) = 1 + Sum_{i=1..n} phi(i)^2.
; 1,2,3,7,11,27,31,67,83,119,135,235,251,395,431,495,559,815,851,1175,1239,1383,1483,1967,2031,2431,2575,2899,3043,3827,3891,4791,5047,5447,5703,6279,6423,7719,8043,8619,8875,10475,10619,12383,12783,13359,13843,15959,16215,17979,18379,... |
oeis/136/A136798.asm | neoneye/loda-programs | 11 | 46271 | ; A136798: First term in a sequence of at least 3 consecutive composite integers.
; Submitted by <NAME>
; 8,14,20,24,32,38,44,48,54,62,68,74,80,84,90,98,104,110,114,128,132,140,152,158,164,168,174,182,194,200,212,224,230,234,242,252,258,264,272,278,284,294,308,314,318,332,338,350,354,360,368,374,380,384,390,398,402,410... |
programs/oeis/093/A093882.asm | karttu/loda | 0 | 46272 | ; A093882: Sum of all the numbers formed by deleting one digit from n.
; 0,0,0,0,0,0,0,0,0,0,1,2,3,4,5,6,7,8,9,10,2,3,4,5,6,7,8,9,10,11,3,4,5,6,7,8,9,10,11,12,4,5,6,7,8,9,10,11,12,13,5,6,7,8,9,10,11,12,13,14,6,7,8,9,10,11,12,13,14,15,7,8,9,10,11,12,13,14,15,16,8,9,10,11,12,13,14,15
mov $4,$0
add $4,5
lpb $0,1
sub $0... |
Module 1/7. Procedures/FuckTheWorldProdecure.asm | hoangcuongflp/SLAE | 47 | 46273 | <filename>Module 1/7. Procedures/FuckTheWorldProdecure.asm
; FuckTheWorldProdecure.asm
; by Abatchy
;
; nasm -felf32 FuckTheWorldProdecure.asm && ld -o FuckTheWorldProdecure FuckTheWorldProdecure.o && ./FuckTheWorldProdecure
; ---------------------------------------------------------------------------------------
g... |
oeis/108/A108854.asm | neoneye/loda-programs | 11 | 46276 | ; A108854: Numbers n such that 10*n - 127 is prime.
; Submitted by <NAME>
; 13,14,15,17,18,20,21,23,24,29,30,32,35,36,39,41,42,44,48,50,51,56,57,59,63,65,69,72,74,77,78,80,81,86,87,90,95,98,99,101,108,111,114,116,119,122,123,125,128,129,132,134,135,141,143,150,155,156,158,161,162
mov $1,5
mov $2,$0
pow $2,2
lpb $2
s... |
stage1/cd/bootsect.asm | Killaship/limine | 2 | 46277 | BITS 16
ORG 0x7C00
%define STAGE2_LOCATION 0x60000
%define DECOMPRESSOR_LOCATION 0x70000
%define BOOT_FROM_CD 2
jmp skip_bpb
nop
; El Torito Boot Information Table
; ↓ Set by mkisofs
times 8-($-$$) db 0
boot_info:
bi_PVD dd 0
bi_boot_LBA dd 0
bi_boot_len dd 0
bi_checksum dd 0
bi_reserv... |
final/matrixTransformG3_SIMD.asm | k-allard/assembly_SIMD_training | 0 | 46279 | <filename>final/matrixTransformG3_SIMD.asm
.text
.intel_syntax noprefix
.literal16
.p2align 4
MASK12:
.long 0
.long 0xffffffff
.long 0xffffffff
.long 0
.text
.globl __Z22matrixTransformG3_SIMDPiS_ii
.p2align 4, 0x90
__Z22matrixTransfo... |
5/dict.asm | akruman/low-level-programming-c | 0 | 46280 | global find_word
extern string_equals
section .text
find_word: ; (char* key, last* entry). rets found entry addr, or 0 (rdi,rsi)->rax
xor rax,rax
.loop:
test rsi,rsi
jz .err
push rsi
push rdi
add rsi,8
call string_equals ; (buffer* rdi, buffer* rsi) -> rax
cmp rax,1
jz .ok
pop... |
oeis/033/A033467.asm | neoneye/loda-programs | 11 | 46281 | ; A033467: Partial sums of sequence {1/(i^2+1): i=0..n} (numerators).
; Submitted by <NAME>
; 1,3,17,9,158,4193,157351,397466,400611,33054527,3355270077,102758999311,2990338571904,5998294800553,1184659077355591,67080741701688404,17273086483161957653,34605257914722575451,6931595973735660593,628166167374857855769,2522047... |
oeis/164/A164408.asm | neoneye/loda-programs | 11 | 46282 | ; A164408: Number of binary strings of length n with no substrings equal to 0000 0001 or 0011.
; Submitted by <NAME>
; 13,23,40,68,118,203,349,602,1036,1784,3073,5291,9112,15692,27022,46535,80137,138002,237652,409256,704773,1213679,2090056,3599252,6198214,10673843,18381253,31654058,54510940,93872408,161656153,278385443... |
mc-sema/validator/x86_64/tests/DIV64r.asm | randolphwong/mcsema | 2 | 46283 | BITS 64
;TEST_FILE_META_BEGIN
;TEST_TYPE=TEST_F
;TEST_IGNOREFLAGS=FLAG_CF|FLAG_OF|FLAG_SF|FLAG_ZF|FLAG_AF|FLAG_PF
;TEST_FILE_META_END
; DIV64r
;TEST_BEGIN_RECORDING
mov rdx, 0x0
mov rax, 0x100
mov rbx, 10
div rbx
;TEST_END_RECORDING
|
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_21829_568.asm | ljhsiun2/medusa | 9 | 46284 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r13
push %r15
push %r8
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x146e2, %r13
nop
nop
nop
nop
and %r10, %r10
mov (%r13), %r11w
nop
nop
nop
nop
nop
and $56261, %r15
lea addresses_D_ht+0x8cca, %r10
nop
nop
nop
inc %rsi
mov $0x6162636465666768,... |
engine/gfx/sprites.asm | Dev727/ancientplatinum | 28 | 46285 | ClearSpriteAnims:
ld hl, wSpriteAnimDict
ld bc, wSpriteAnimsEnd - wSpriteAnimDict
.loop
ld [hl], $0
inc hl
dec bc
ld a, c
or b
jr nz, .loop
ret
PlaySpriteAnimationsAndDelayFrame:
call PlaySpriteAnimations
call DelayFrame
ret
PlaySpriteAnimations:
push hl
push de
push bc
push af
ld a, LOW(wVirtualOAM... |
Appl/Art/Decks/GeoDeck/LMHeart8.asm | steakknife/pcgeos | 504 | 46286 | <reponame>steakknife/pcgeos
LMHeart8 label byte
word C_BLACK
Bitmap <71,100,BMC_PACKBITS,BMF_MONO>
db 0xf8, 0x00
db 0xf8, 0x00
db 0xf8, 0x00
db 0xf8, 0x00
db 0x01, 0x03, 0xe0, 0xfc, 0x00, 0x01, 0x1d, 0xc0
db 0x01, 0x07, 0xf0, 0xfc, 0x00, 0x01, 0x37, 0x60
db 0x01, 0x0e, 0x38, 0xfc, 0x00, 0x01, 0x2a, 0x... |
programs/oeis/184/A184809.asm | karttu/loda | 0 | 46289 | <filename>programs/oeis/184/A184809.asm<gh_stars>0
; A184809: n + floor(r*n), where r = sqrt(3/2); complement of A184808.
; 2,4,6,8,11,13,15,17,20,22,24,26,28,31,33,35,37,40,42,44,46,48,51,53,55,57,60,62,64,66,68,71,73,75,77,80,82,84,86,88,91,93,95,97,100,102,104,106,109,111,113,115,117,120,122,124,126,129,131,133,135,... |
Engine Hacks/FE8-Walking Sounds Fix/FE8-Walking Sounds source.asm | sme23/MekkahRestrictedHackComp1 | 0 | 46290 | <reponame>sme23/MekkahRestrictedHackComp1
@Allows one to customize the walking sounds of a class
.thumb
.org 0x78D78
@r0 has class id
ldr r1, table1
ldrb r0,[r1,r0]
ldr r1,table2
lsl r0,r0,#0x2
add r1,r1,r0
ldr r5,[r1]
b next
.align
table1:
.long 0x08078D90
table2:
.long 0x08078E90
.org 0x78FEE
next:
|
lab4/max/main.asm | samdsk/lab_arch2 | 0 | 46291 | <reponame>samdsk/lab_arch2
.text
.globl main
main:
li $a0 1
li $a1 2
#call max
jal max
move $t0 $v0
#print max
li $v0 1
move $a0 $t0
syscall
#exit
li $v0 10
syscall |
src/boot/boot.asm | jonatan5524/own-kernel | 0 | 46292 | <reponame>jonatan5524/own-kernel
; vim: set ft=nasm :
ORG 0x7c00
; boot processer mode - 16bit mode
BITS 16
; set code and data offset addresses
CODE_SEG equ gdt_code - gdt_start
DATA_SEG equ gdt_data - gdt_start
jmp short start
nop
; FAT16 header
OEMIdentifier db 'MYOS '
BytesPerSector dw 0x200
SectorPerC... |
base/runtime/expand.asm | zbyti/Mad-Pascal | 1 | 46293 | <reponame>zbyti/Mad-Pascal
.proc @expandSHORT2SMALL
lda :STACKORIGIN,x
ora #$7f
smi
lda #$00
sta :STACKORIGIN+STACKWIDTH,x
rts
.endp
.proc @expandSHORT2SMALL1
lda :STACKORIGIN-1,x
ora #$7f
smi
lda #$00
sta :STACKORIGIN-1+STACKWIDTH,x
rts
.endp
.proc @expandToCARD
SMALL lda :... |
src/util/oli/qdos/alloc.asm | olifink/qspread | 0 | 46294 | <reponame>olifink/qspread<gh_stars>0
; Allocate memory 18/12-91 O.Fink
include win1_keys_qdos_sms
xdef ut_alcmy
xdef ut_alcsys
section utility
no.owner equ 0
;+++
; allocate common heap space for myself
;
; Entry ... |
audio/sfx/cry12_1.asm | opiter09/ASM-Machina | 1 | 46295 | SFX_Cry12_1_Ch5:
duty_cycle_pattern 2, 2, 1, 1
square_note 12, 15, 2, 1088
square_note 15, 14, 3, 1184
square_note 4, 13, 2, 1168
square_note 8, 13, 1, 1152
sound_ret
SFX_Cry12_1_Ch6:
duty_cycle_pattern 3, 2, 3, 2
square_note 11, 13, 2, 1080
square_note 14, 12, 6, 1176
square_note 3, 11, 2, 1160
square_not... |
Working Disassembly/General/2P Zone/Map - Goal Marker.asm | TeamASM-Blur/Sonic-3-Blue-Balls-Edition | 5 | 46296 | <filename>Working Disassembly/General/2P Zone/Map - Goal Marker.asm
dc.w word_37002-Map_2PGoalMarker
dc.w word_37010-Map_2PGoalMarker
dc.w word_3701E-Map_2PGoalMarker
dc.w word_3702C-Map_2PGoalMarker
word_37002: dc.w 2 ; DATA XREF: ROM:00036FFAo
dc.b $EC, 2, 0, 0, $FF, $FC
dc.b 4, 1, 0, 3, $... |
programs/oeis/236/A236432.asm | neoneye/loda | 22 | 46297 | <gh_stars>10-100
; A236432: a(n) = (2n-1)*210; numbers which are 210 times an odd number.
; 210,630,1050,1470,1890,2310,2730,3150,3570,3990,4410,4830,5250,5670,6090,6510,6930,7350,7770,8190,8610,9030,9450,9870,10290,10710,11130,11550,11970,12390,12810,13230,13650,14070,14490,14910,15330,15750,16170,16590,17010,17430,17... |
cs240 labs/lab45/fibonacciA.asm | bariskaraer/CS-240-Lab-Works | 0 | 46298 | <gh_stars>0
0: BZJi 50 0 // go to first instruction of the function
1: BZJi 2 0 // END: goto END
2: 1
50: 100
289: 2
290: 1
291: 0
292: 0xFFFFFFFD // = -3
293: 0xFFFFFFFE // = -2
294: 0xFFFFFFFF // = -1
295: 136 // RETURNpt2
296: 120 // RETURNpt1
297: 109 // SKIP
298: 100 // TOP
299: 0 // returnAddr
360: 400 // ptr ... |
programs/oeis/141/A141413.asm | karttu/loda | 0 | 46299 | <gh_stars>0
; A141413: Inverse binomial transform of A140962.
; 0,-1,1,-3,9,-27,81,-243,729,-2187,6561,-19683,59049,-177147,531441,-1594323,4782969,-14348907,43046721,-129140163,387420489,-1162261467,3486784401,-10460353203,31381059609,-94143178827,282429536481,-847288609443,2541865828329,-7625597484987,22876792454961,... |
Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xca.log_21829_1039.asm | ljhsiun2/medusa | 9 | 46300 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r14
push %r9
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0xc020, %rsi
lea addresses_WC_ht+0x12b0, %rdi
clflush (%rdi)
sub %rax, %rax
mov $93, %rcx
rep movsq
nop
sub $1016, %r13
lea addresses_normal_ht+0x... |
libsrc/_DEVELOPMENT/threads/mutex/z80/asm_mtx_timedlock.asm | meesokim/z88dk | 0 | 46301 |
; ===============================================================
; Jan 2014
; ===============================================================
;
; int mtx_timedlock(mtx_t *m, struct timespec *ts)
;
; Block until the mutex is acquired or timeout occurs.
;
; =============================================================... |
sources/ippcp/asm_intel64/pcpaesgcme9as.asm | idesai/ipp-crypto | 1 | 46302 | ;===============================================================================
; Copyright 2014-2018 Intel Corporation
; All Rights Reserved.
;
; If this software was obtained under the Intel Simplified Software License,
; the following terms apply:
;
; The source code, information and material ("Material") co... |
programs/oeis/192/A192308.asm | karttu/loda | 0 | 46303 | <gh_stars>0
; A192308: 1-sequence of reduction of (3n) by x^2 -> x+1.
; 0,6,15,39,84,174,342,654,1221,2241,4056,7260,12876,22662,39627,68907,119244,205482,352770,603630,1029825,1752261,2974320,5037624,8515224,14367174,24200007,40699119,68348676,114629286
mov $2,$0
mov $3,$0
lpb $0,1
add $1,$0
sub $0,1
sub $1,1
... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_598.asm | ljhsiun2/medusa | 9 | 46304 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r8
push %r9
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x14ae, %rsi
lea addresses_WC_ht+0x1b0ee, %rdi
nop
nop
nop
cmp %r11, %r11
mov $74, %rcx
rep movsq
nop
cmp $63270, %r10
lea addresses_D_ht+0x1e2ee, %rsi
lea addresses_WT_ht+0x56ee, %rdi
no... |
oeis/032/A032931.asm | neoneye/loda-programs | 11 | 46305 | ; A032931: Numbers whose set of base-11 digits is {1,2}.
; Submitted by <NAME>
; 1,2,12,13,23,24,133,134,144,145,254,255,265,266,1464,1465,1475,1476,1585,1586,1596,1597,2795,2796,2806,2807,2916,2917,2927,2928,16105,16106,16116,16117,16226,16227,16237,16238,17436,17437,17447,17448,17557,17558,17568,17569,30746,30747,307... |
testsuite/ubivm/expected/table_1d_5.asm | alexgarzao/UOP | 0 | 46306 | <gh_stars>0
Entity start
No options
Constants
0 S start
1 S tab
2 S 1
3 I 10
4 S 2
5 I 20
6 S tab[1]=
7 I 1
8 I 2
9 S io.writeln
10 S tab[2]=
End
Valid context (always)
No properties
Def start
No parameters
Local variables
0 table tab
End
No results
ldconst 2 --> [1]
ldconst 3... |
libsrc/spectrum/diagnostic/zx_printer.asm | meesokim/z88dk | 0 | 46307 | <gh_stars>0
;
; ZX Spectrum specific routines
; by <NAME>, 14/09/2006
;
; int zx_printer();
;
; The result is:
; - 1 (true) if the ZX printer is connected
; - 0 (false) otherwise
;
; $Id: zx_printer.asm,v 1.2 2015/01/19 01:33:08 pauloscustodio Exp $
;
PUBLIC zx_printer
zx_printer:
ld hl,0
in a,($fb)
bit 6,a
ret... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_1565.asm | ljhsiun2/medusa | 9 | 46308 | <filename>Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_1565.asm<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r8
push %r9
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x139ea, %r11
nop
nop
and $57031, %rsi
mov $0x6162636465666768, %r9
movq %... |
test-files/fat_mod_A.asm | bandreghetti/SB_2018-2 | 0 | 46309 | MOD_A: BEGIN
SECTION TEXT
MOD_B: EXTERN
PUBLIC FAT
PUBLIC N
INPUT N
LOAD N
FAT: SUB ONE
JMPZ FIM
JMP MOD_B
FIM: OUTPUT N
STOP
SECTION DATA
ONE: CONST 1
SECTION BSS
N: SPACE
END
|
assignment3/EggFound.asm | gkweb76/SLAE | 15 | 46312 | ; Title: Shellcode printing "Egg Found!!"
; Author: <NAME>
; SLAE-681
global _start
section .text
_start:
jmp short get_address
shellcode:
pop ecx
xor eax, eax
push eax ; prepare stack for string copy (NULL terminated)
mov al, 0x4 ; write syscall code
xor ebx, ebx
mov bl, 0x1 ; 1st arg: stdout
;mov ... |
oeis/179/A179396.asm | neoneye/loda-programs | 11 | 46313 | ; A179396: a(n) = prime(n)^2 modulo prime(n+4).
; Submitted by <NAME>
; 4,9,8,11,6,24,10,28,37,24,21,44,29,19,65,40,50,8,7,57,91,80,91,3,35,31,68,52,99,120,37,98,86,87,157,138,126,143,3,14,127,125,189,8,219,213,18,17,196,233,62,50,246,129,123,43,196,191,286,278,274,259,245,2,115,326,131,125,33,203,297,193,95,179
mov $... |
programs/oeis/182/A182307.asm | neoneye/loda | 22 | 46316 | ; A182307: a(n+1) = a(n) + floor(a(n)/6) with a(0)=6.
; 6,7,8,9,10,11,12,14,16,18,21,24,28,32,37,43,50,58,67,78,91,106,123,143,166,193,225,262,305,355,414,483,563,656,765,892,1040,1213,1415,1650,1925,2245,2619,3055,3564,4158,4851,5659,6602,7702,8985,10482,12229,14267,16644
lpb $0
sub $0,1
add $2,1
mov $1,$2
di... |
data/pokemon/dex_entries/froslass.asm | AtmaBuster/pokeplat-gen2 | 6 | 46317 | db "SNOW LAND@" ; species name
db "Legends in snowy"
next "regions say that a"
next "woman who was lost"
page "on an icy mountain"
next "was reborn as"
next "FROSLASS.@"
|
oeis/237/A237424.asm | neoneye/loda-programs | 11 | 46319 | <reponame>neoneye/loda-programs<filename>oeis/237/A237424.asm
; A237424: Numbers of the form (10^a + 10^b + 1)/3.
; Submitted by <NAME>
; 1,4,7,34,37,67,334,337,367,667,3334,3337,3367,3667,6667,33334,33337,33367,33667,36667,66667,333334,333337,333367,333667,336667,366667,666667,3333334,3333337,3333367,3333667,3336667,3... |
Transynther/x86/_processed/NONE/_xt_sm_/i7-7700_9_0xca.log_11_886.asm | ljhsiun2/medusa | 9 | 46320 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r14
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x1010a, %rdi
nop
nop
add %r11, %r11
mov (%rdi), %r13d
nop
nop
nop
xor %r13, %r13
lea addresses_A_ht+0x1d32, %rsi
lea addresses_D_ht+0x1a90a, %rdi
clflush (%rsi)
add $49547, %r14
mo... |
programs/oeis/057/A057089.asm | karttu/loda | 1 | 46321 | <reponame>karttu/loda<filename>programs/oeis/057/A057089.asm<gh_stars>1-10
; A057089: Scaled Chebyshev U-polynomials evaluated at i*sqrt(6)/2. Generalized Fibonacci sequence.
; 1,6,42,288,1980,13608,93528,642816,4418064,30365280,208700064,1434392064,9858552768,67757668992,465697330560,3200729997312,21998563967232,15119... |
libsrc/target/trs80/fcntl/trsdos_tst_callee.asm | ahjelm/z88dk | 640 | 46322 | <gh_stars>100-1000
;
; Crazy way to call TRSDOS functions.
;
;
; On entry:
; trsdos_tst (function,HL,DE) --or-- trsdos (function,A,DE)
;
; On exit: Return code = 0 if zero, -1 if not zero
;
SECTION code_clib
PUBLIC trsdos_tst_callee
PUBLIC _trsdos_tst_callee
EXTERN errno
PUBLIC asm_trsdos_tst
; int (unsi... |
asm_main.asm | JoseC1/First_Project | 0 | 46323 | <reponame>JoseC1/First_Project
; file: asm_main.asm
%include "asm_io.inc"
;
; initialized data is put in the .data segment
;
segment .data
hello: db '<NAME>', 10,0
helloLen: equ $-hello
syswrite: equ 4
stdout: equ 1
exit: equ 1
SUCCESS: equ 0
kernelcall: equ 80... |
lab2.asm | Klaus073/Assembly-language | 0 | 46324 | <gh_stars>0
[org 0x0100]
jmp start
num1: dw 1,2,3,4,5,6,7,8,9,10
result: dw 0
start:
mov ax,0
mov bx,0
mov cx,0
mov dx,18
;mov ax,[num1+bx]
loop:
mov bx,cx
mov ax,[num1+bx]
add cx,2
mov bx,dx
add ax,[num1+bx]
add [result],ax
cmp dx,12
jne loop
mov ax, 0x4c00... |
libsrc/_DEVELOPMENT/arch/cpm/z80/asm_cpm_bdos_hl.asm | jpoikela/z88dk | 640 | 46325 |
; ===============================================================
; 2015
; ===============================================================
;
; int cpm_bdos_hl(unsigned int func,unsigned int arg)
;
; ===============================================================
SECTION code_clib
SECTION code_arch
PUBLIC asm_cpm_bd... |
original version (1984)/asm/map18-exec.asm | fa8ntomas/bclk-samples | 0 | 46326 | <filename>original version (1984)/asm/map18-exec.asm
; Map 18 exec
; THE EMPEROR!
Map18Exec: lda MapVar1
bne L3406
jmp UpdateEmperor
L3406: lda Map18Lamps+0*4
bne L3437
sta MapVar1
jsr L38FF
lda #$61 ;--------------------------
... |
programs/oeis/070/A070004.asm | karttu/loda | 0 | 46327 | <filename>programs/oeis/070/A070004.asm
; A070004: Numbers of the form 5*2^n or 5*3*2^n; a(n) = 5*A029744(n).
; 5,10,15,20,30,40,60,80,120,160,240,320,480,640,960,1280,1920,2560,3840,5120,7680,10240,15360,20480,30720,40960,61440,81920,122880,163840,245760,327680,491520,655360,983040,1310720,1966080,2621440
mov $1,5
mo... |
Jahr 1/MC/Programmierung/HelloASM/HelloASM/main.asm | BackInBash/Technikerschule | 2 | 46328 | ;
; HelloASM.asm
;
; Created: 12/02/2021 15:31:56
; Author : Markus
;
ldi r16, 0b00000111
ldi r22, 0x15
; Replace with your application code
ldi r17, 0x1
ldi r18, 0x1
ldi r19, 0x0
start:
inc r16
mov r17, r18
add r18, r19
rjmp start
|
programs/oeis/080/A080353.asm | karttu/loda | 0 | 46329 | ; A080353: a(1)=5; for n>1, a(n)=a(n-1)+1 if n is already in the sequence, a(n)=a(n-1)+2 otherwise.
; 5,7,9,11,12,14,15,17,18,20,21,22,24,25,26,28,29,30,32,33,34,35,37,38,39,40,42,43,44,45,47,48,49,50,51,53,54,55,56,57,59,60,61,62,63,65,66,67,68,69,70,72,73,74,75,76,77,79,80,81,82,83,84,86,87,88,89
mov $2,$0
add $0,3
... |
oeis/077/A077873.asm | neoneye/loda-programs | 11 | 46330 | <filename>oeis/077/A077873.asm<gh_stars>10-100
; A077873: Expansion of (1-x)^(-1)/(1-x+x^2+2*x^3).
; Submitted by <NAME>
; 1,2,2,-1,-6,-8,1,22,38,15,-66,-156,-119,170,602,671,-270,-2144,-3215,-530,6974,13935,8022,-19860,-55751,-51934,43538,206975,267306,-26744,-707999,-1215866,-454378,2177487,5063598,3794868,-5623703,-... |
programs/oeis/154/A154515.asm | karttu/loda | 1 | 46331 | ; A154515: a(n) = 648*n^2 + 72*n + 1.
; 721,2737,6049,10657,16561,23761,32257,42049,53137,65521,79201,94177,110449,128017,146881,167041,188497,211249,235297,260641,287281,315217,344449,374977,406801,439921,474337,510049,547057,585361,624961,665857,708049,751537,796321,842401,889777,938449,988417,1039681,1092241,1146097... |
programs/oeis/087/A087449.asm | neoneye/loda | 22 | 46333 | <reponame>neoneye/loda
; A087449: a(n) = n * 4^(n-1) + (2*4^n + 1) / 3.
; 1,4,19,91,427,1963,8875,39595,174763,764587,3320491,14330539,61516459,262843051,1118481067,4742359723,20043180715,84467690155,355050629803,1488921995947,6230565890731,26021775190699,108485147273899
add $0,2
mov $1,$0
mul $0,6
add $0,4
mul $1,2
m... |
src/Interface.asm | sharksym/vgmplay-sharksym | 6 | 46334 | <reponame>sharksym/vgmplay-sharksym
;
;
;
InterfaceAddress: MACRO ?address
IF ?address < 400H
ERROR "Address must be >= 400H."
ENDIF
dw ?address
ENDM
InterfaceOffset: MACRO ?offset
IF ?offset >= 400H
ERROR "Offset must be < 400H."
ENDIF
dw ?offset
ENDM
; de = offset base
; hl = interface address or offset... |
programs/oeis/186/A186680.asm | jmorken/loda | 1 | 46335 | <reponame>jmorken/loda<filename>programs/oeis/186/A186680.asm
; A186680: Total number of positive integers below 10^n requiring 17 positive biquadrates in their representation as sum of biquadrates.
; 0,3,33,63,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,6... |
45/beef/drv/csd/src/tandy.asm | minblock/msdos | 0 | 46336 | <gh_stars>0
;*
;* CW : Character Windows Drivers
;*
;* tandy.asm : Tandy 1000 CSD
;*
;*****************************************************************************
TANDYCSD = 1 ;see update1.asm
include csd_head.inc
include csd_data.inc
;****************************************************************************... |
Transynther/x86/_processed/NONE/_xt_sm_/i7-7700_9_0x48.log_21829_1487.asm | ljhsiun2/medusa | 9 | 46339 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r15
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0xa159, %rsi
lea addresses_WT_ht+0xf359, %rdi
nop
nop
nop
nop
nop
add $24107, %rbx
mov $25, %rcx
rep movsb
nop
nop
sub %rsi, %rsi
lea addresses_WT_ht+0x9ab9, %r15
add $51109, %rbx
mov (%r15), %r12... |
programs/oeis/088/A088441.asm | neoneye/loda | 22 | 46340 | <filename>programs/oeis/088/A088441.asm
; A088441: A one third Cantor set as a factorial product function.
; 1,3,1,1,6,2,1,9,4,1,12,5,1,15,7,1,18,8,1,21,10,1,24,11,1,27,13,1,30,14,1,33,16,1,36,17,1,39,19,1,42,20,1,45,22,1,48,23,1,51,25,1,54,26,1,57,28,1,60,29,1,63,31,1,66,32,1,69,34,1,72,35,1,75,37,1,78,38,1,81,40,1
m... |
samples/eliza.asm | Idorobots/asm | 2 | 46341 | <reponame>Idorobots/asm
################################################################################
# Elizaesque example:
#
# > (eliza)
# Eliza > Hello Eliza
# How do you do. Please state your problem.
# Eliza > quit
####################
(var +pattern-character+ "?")
(function variable? (x)
(and (symbol? x)
... |
ThemidaSDK/ExamplesSDK/Macros/Assembly/Example.asm | qzhsjz/LXDInjector | 1 | 46343 | ; ****************************************************************************
; Module: Example.asm
; Description: Example program that shows the use of the SecureEngine macros
; in assembly language
;
; Author/s: <NAME>
; (c) 2004 Oreans Technologies
; **************************************************... |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_63_53.asm | ljhsiun2/medusa | 9 | 46344 | <reponame>ljhsiun2/medusa<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r11
push %r13
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
// Store
lea addresses_D+0x5966, %rcx
nop
nop
nop
nop
xor $38828, %r10
mov $0x5152535455565758, %r13
movq %r... |
oeis/141/A141375.asm | neoneye/loda-programs | 11 | 46345 | ; A141375: Primes of the form x^2+8*x*y-8*y^2 (as well as of the form x^2+10*x*y+y^2).
; Submitted by <NAME>
; 73,97,193,241,313,337,409,433,457,577,601,673,769,937,1009,1033,1129,1153,1201,1249,1297,1321,1489,1609,1657,1753,1777,1801,1873,1993,2017,2089,2113,2137,2161,2281,2377,2473,2521,2593,2617,2689,2713,2833,2857
... |
bugs/PENDING_SUBMIT/0443-AMD-MESA-void-acoanonymousbegin-divergent-if-elseacoisel-co/reduced_2_result/variant/1_spirv_asm/shader.frag.asm | asuonpaa/ShaderTests | 0 | 46346 | <reponame>asuonpaa/ShaderTests
; SPIR-V
; Version: 1.0
; Generator: Khronos Glslang Reference Front End; 10
; Bound: 52
; Schema: 0
OpCapability Shader
%1 = OpExtInstImport "GLSL.std.450"
OpMemoryModel Logical GLSL450
OpEntryPoint Fragment %4 "main" %20
... |
Code/imgview/imgview.asm | QuinnPainter/6502Computer | 0 | 46347 | include viaInfo.asm
include biosFunctions.asm
include qsdosFunctions.asm
; problem : black pixels in diagonal pattern - why? every 256 bytes maybe?
; problem : freaks out when done drawing
org $2000
lda #'I'
sta $7
lda #'M'
sta $8
lda #'A'
sta $9
lda #'G'
s... |
16_MAIUSC_INI.asm | aleattene/lc2-exams | 0 | 46348 | <reponame>aleattene/lc2-exams
; ************ DESCRIZIONE SOTTOPROGRAMMA ************
Il seguente sottoprogramma denominato MAIUSC_INI riceve nel registro R0 l’indirizzo della
prima cella di una zona di memoria contenente una frase costituita da “parole” (sequenze di caratteri codificati
in codice ASCII) separate l’una... |
Transynther/x86/_processed/AVXALIGN/_zr_/i9-9900K_12_0xa0.log_21829_1039.asm | ljhsiun2/medusa | 9 | 46349 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r14
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x20b2, %rsi
lea addresses_A_ht+0x91de, %rdi
nop
nop
nop
nop
nop
xor $52606, %r10
mov $60, %rcx
rep movsq
nop
nop
nop
nop
add $7517, %rbx
lea address... |
engine/overworld/field_moves.asm | longlostsoul/EvoYellow | 16 | 46351 | <gh_stars>10-100
;Matteo red++: Copied pretty much verbatim from code by Yenatch
; lol'd at some of the label names, ngl
TryFieldMove:: ; predef
call GetPredefRegisters
.Main:
call TrySurf
ret z
call TryCut
; ret z
ret
TrySurf:
ld a, [wWalkBikeSurfState]
cp 2
jr z, .no
call IsSurfTile
jr nc, .no
ld a,[... |
Transynther/x86/_processed/AVXALIGN/_zr_/i9-9900K_12_0xca_notsx.log_21829_1975.asm | ljhsiun2/medusa | 9 | 46352 | <filename>Transynther/x86/_processed/AVXALIGN/_zr_/i9-9900K_12_0xca_notsx.log_21829_1975.asm<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r15
push %r9
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x16eb1, %r15
nop
nop
nop
nop
and %rbx, %rbx
mov $0x6162636465666768, ... |
arch/z80/src/z180/z180_head.asm | eenurkka/incubator-nuttx | 1,006 | 46353 | ;**************************************************************************
; arch/z80/src/z180/z180_head.asm
;
; Licensed to the Apache Software Foundation (ASF) under one or more
; contributor license agreements. See the NOTICE file distributed with
; this work for additional information regarding copyright ownershi... |
private/windows/media/avi/avifile.16/rlea.asm | King0987654/windows2000 | 17 | 46354 | <gh_stars>10-100
page ,132
;-----------------------------Module-Header-----------------------------;
; Module Name: RLEA.ASM - helper routines for RLE stuff
;
; Created: Thu 27-Jun-1991
; Author: <NAME> [ToddLa]
;
; Copyright (c) 1991 Microsoft Corporation
;
; Exported Functions: none
;
; Public Fun... |
oeis/134/A134290.asm | neoneye/loda-programs | 11 | 46355 | ; A134290: Ninth column (and diagonal) of Narayana triangle A001263.
; 1,45,825,9075,70785,429429,2147145,9202050,34763300,118195220,367479684,1057896060,2848181700,7229999700,17420856420,40067969766,88385227425,187746398125,385374185625,766691800875,1482270815025,2791289197125,5130235085625,9219552907500,1622641311720... |
Codes/Chapter08/P06/P08-06.asm | ar-ekt/Dandamudi-Assembly-Solutions | 8 | 46356 | <gh_stars>1-10
;the use of xlat alongside the indirect jump instruction provides a more compact and readable method of performing conditional jumps
;the indirect jump instruction can be used as an alternative for high level languages' switch case statement
global _start
extern ExitProcess
%include "lib.h"
section .d... |
asm/blink.asm | foxxy777/leros | 40 | 46357 | <reponame>foxxy777/leros
// Register definitions
//R0 = ?
//R1 = ?
//R2 = ?
// first instruction is not executed
nop
// second instruction is executed twice
// A real blink in SW with 0.5 Hz
// 100.000.000 cycle loop
// 100 MHz clock, inner loop is 3 cycles
// inner loop 65635*3 = 196605
// outer loop 509 ca. 512 i... |
demo2/verification/mytests/jal_1.asm | PrayagBhakar/WISC-SP13 | 0 | 46358 | // jal forward and back
// R7 = 0x08
// PC = 0x04
jal 4
nop
halt
jal -6
halt
|
oeis/066/A066668.asm | neoneye/loda-programs | 11 | 46359 | <reponame>neoneye/loda-programs
; A066668: Signed row sums of A066667.
; Submitted by <NAME>
; 1,1,1,-1,-19,-151,-1091,-7841,-56519,-396271,-2442439,-7701409,145269541,4833158329,104056218421,2002667085119,37109187217649,679877731030049,12440309297451121,227773259993414719,4155839606711748061,74724654677947488521,12931... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.